aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu/hw
Commit message (Collapse)AuthorAgeFilesLines
...
* [HVM] Disable pmtimer in qemu acpi device model. Needs fixingkfraser@dhcp93.uk.xensource.com2006-07-031-1/+1
| | | | | | to not burn ~25% of a 3GHz CPU. Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM] Clean up formatting of new piix acpi file.kaf24@firebug.cl.cam.ac.uk2006-06-171-185/+177
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM] ACPI support patch 4 of 4: shutdown.kaf24@firebug.cl.cam.ac.uk2006-06-171-6/+23
| | | | | | | | | | | The patch is incorporated from Ben's Virtual Iron's ACPI shutdown patch in changeset 9989:f8d20c3e4225 The patch support guest ACPI Windows shutdown, as well as ACPI guest Linux "halt -p" and "shutdown -h now". Signed-off-by: Ben Thomas <ben@virtualiron.com> Signed-off-by: Winston Wang <winston.l.wang@intel.com>
* [HVM] ACPI support patch 2 of 4: ACPI timer.kaf24@firebug.cl.cam.ac.uk2006-06-171-3/+86
| | | | | | | | ACPI timer is required during guest windows installation and boot. Signed-off-by: Tang Liang <tangliang@lenovo.com> Signed-off-by: Winston Wang <winston.l.wang@intel.com>
* [HVM] ACPI support patch 1 of 4: main components.kaf24@firebug.cl.cam.ac.uk2006-06-173-3/+413
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch support ACPI UP Guest Windows 2000, XP and 2003, based on this we are going to add more support on SMP and 64bit Windows( which are only working in ACPI mode) later. We tested: in ia32 guest: a. Installation and boot of Windows XP sp2 and 2003 server in ACPI mode b when boot to both window, no yellow mark in device manger and USB, network card and IDE DMA are working. c. clean boot (without ACPI related errors) on UP and 4 vcpu rhel4u1 SMP guest and got ioapic Interrupt assigned according to ACPI DSDT table's _PRT table's GSI. To minimize the implementation efforts to satisfy the ACPI OS installation and boot, we implemented ACPI only event logical model by emulating ACPI hardware based on PIIX4 (Intel 82371ab) by: Populating the PIIX4 ACPI bridge PCI configuration space; Adding ACPI timer (required during windows installation/boot), PM1 event register block and PM1 control register block (both are required during installation/boot, shutdown, entering and leaving PM S state if adding those features later), we provided full ACPI hardware registers above using byte/word/dword access per ACPI spec requirement. The patch also fixed many existing hvm ACPI related bugs, such as warnings when boot to ACPI UP and SMP guest Linux OS; adding new ACPI _PRT table reporting PCI IRQ routing table in PIC mode, adding new _PRT table in APIC mode, that fixed no IRQ GSI cause it is forced to shutdown when OS find new device to assign IRQ without ACPI event service; The patch also fixed the ACPI DSDT table's PCI resource conflict with guest e820 table when booting and installing ACPI Windows; we also added ACPI shutdown service by incorporating the code in ACPI "hardware enable register writer" from Ben's Virtual Iron's team's patch in changeset 9989:f8d20c3e4225. We only provide minimum power management requirement support per spec-c1 and S5 for shutdown, may be S4 (hibernating which is meaningful for user to save their working section) in the future. Please note, current patch needs to have following switches in guest configuration to enable proper ACPI support a. need to add ACPI=1 (apic=1 if boot SMP Linux guest plus vcpu= number want to test) in xmexample.hvm b. need to add USB support: USB=1 and usbdevice='device' (or ='tablet') as the pm register base is static..., I will adding dynamic ACPI FADT table for pm register base pointer later. When installing guest OS in ACPI mode, need to manually tell Windows setup program to install single core ACPI HAL: After passing the 1st screen of windows setup of install Windows, the first thing you'll see at the bottom of the screen is the option to press F6 if you need to install a SCSI or RAID controller. Don't press F6. Press F5 instead. This will take you to a separate menu of Hardware Abstraction Layer's where you can choose an appropriate HAL .The choices will be: ACPI Multiprocessor PC ACPI Uniprocessor PC Advanced Configuration and Power Interface (ACPI) PC ... Standard PC Standard PC with C-Step i486 Please select "Advanced Configuration and Power Interface (ACPI) PC" using current patch. Signed-off-by: Winston Wang <winston.l.wang@intel.com>
* [HVM][DM] Backport the USB support from QEMU 0.8.1 to the current Xenkaf24@firebug.cl.cam.ac.uk2006-06-127-90/+2216
| | | | | | | | | | | | | | | | | | | | | | | | | | device model. To support USB there are two new optional config lines that can be added to the guest config file: usb=1 This will enable USB without defining a specific USB device. This option is assumed and not needed if the `usbdevice' option is given. usbdevice='device' This will enable USB and also enable support for the given device. Currently, the only two devices are `mouse' (a PS/2 mouse) and `tablet' (an absolute pointing device). The advantage of `tablet' is that Windows guests will automatically recognize and support this device so specifying the config line: usbdevice='tablet' will create a mouse that works transparently with Windows guests under VNC. (Linux doesn't recognize the USB tablet yet so Linux guests under VNC will still need the Summagraphics emulation.) Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
* [HVM][DM] Cleaner way of clearing VGA memory on mode changes (thanks tokaf24@firebug.cl.cam.ac.uk2006-06-071-11/+0
| | | | | | | | | Fabrice Bellard on the QEMU project). This patch clears the memory in the BIOS call rather than when the Cirrus Logic register changes, which more closely matches what happens on the real hardware. Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
* Represent PFNs with their own type, rather than 'unsigned long'.kaf24@firebug.cl.cam.ac.uk2006-06-061-6/+6
| | | | | | ('long' changes size and alignment between 32- and 64-bit ABIs.) Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* [IA64][HVM] Enable CGA acceleration for VTI.kaf24@firebug.cl.cam.ac.uk2006-06-022-6/+1
| | | | | Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* [HVM] Allow more dynamic use of the qemu serial lines by allowing the ↵kaf24@firebug.cl.cam.ac.uk2006-06-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summagraphics port to float. qemu will emulate up to 4 serial lines (COM1 - COM4). One of these lines supports a Summagraphics protocol. This has changed recently, and it's now always COM2. This patch allows the user to specify to qemu which lines should be serial lines, and the code will place the Summagraphics compatible line at just above the last specified serial line. qemu defaults serial line 0 (COM1) to be "vc", resulting in the Summagraphics support residing on COM2. This is in keeping with the current behavior. The results, via qemu command line, are: <none> COM2 -serial x COM2 -serial x -serial x COM3 -serial x -serial x -serial x COM4 -serial x -serial x -serial x -serial x <none> The results are deterministic, and allow the use of up to 4 serial lines including none with Summagraphics support. There is no change from current behavior, unless requested. Signed-off-by: Ben Thomas <ben@virtualiron.com>
* [HVM] Fixes to buffer handling in ne2000 device model.kaf24@firebug.cl.cam.ac.uk2006-05-311-10/+26
| | | | | Signed-off-by: hanzhu <zhu.han@intel.com>
* Allow to specify different time-of-day clock offsets for HVM guests.kaf24@firebug.cl.cam.ac.uk2006-05-172-4/+28
| | | | | | | | | | | | There are some usage scenarios in which differing user domains want to be using different base TOD clocks. This patch adds the ability to specify the base TOD time difference. The patch also adds a hook point to notify another entity when the domain changes this offset. This might occur, for instance, on a Linux domain using hwclock -w. Signed-off-by: Ben Thomas <ben@virtualiron.com>
* Add rudimentary ACPI support which allows a fully virtualized domainkaf24@firebug.cl.cam.ac.uk2006-05-152-0/+181
| | | | | | | | | | | | | | | to perform a poweroff via the S5 state. This involves adding S5 information to the ASL file; adding ACPI I/O address processing to qemu and modifying the FADT to point to these specific I/O addresses. Note that this is a rudimentary implementation, which is expected to allow growth over time. Currently, only allow/detect writes to one of the PM registers, even though the S5 package specifies data for both. Currently, this is sufficient for the kernels tested. (Specifically, use of _PST, and _GST and other methods are unnecessary and not implemented.) Signed-off-by: Ben Thomas <ben@virtualiron.com>
* Fix the cirrus vga model to not leak memory when switching betweenkaf24@firebug.cl.cam.ac.uk2006-05-124-28/+42
| | | | | | | | | | | | | | | | | initial vga mode and linear framebuffer. When creating device model, the vga memory is allocated through xc_domain_memory_increase_reservation(), however, when switch to use linear framebuffer, we didn't free that memory, and re-allocate the vga memory through set_mm_mapping(), that caused memory leak. Now it is changed to just using qemu_malloc when create device model, and free that memory when switch to linear framebuffer. After unset_vram_mapping(), the old memory pointer should be unmapped; after set_vram_mapping(), the old memory should be freed. Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
* Move set/unset_vram_mapping into cirrus_vga.c, pending a fixup patch.kaf24@firebug.cl.cam.ac.uk2006-05-121-3/+89
| | | | | Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
* This patch enhances the Summagraphics emulation by adding 2 features:kaf24@firebug.cl.cam.ac.uk2006-05-103-38/+115
| | | | | | | | | | | | | 1) Move the tablet to the second serial port. This way the tablet will not interfere with people who want to use a serial console on the guest. 2) Enhance the Summagraphics emulation so that the Windows XP driver works. Turns out the Windows driver was using capabilities the X driver didn't care about and it wouldn't recognize the tablet without these capabilities. Signed-off-by: donald.d.dugger@intel.com
* Reset Cirrus device model `VRAM' whenever a VGA/SVGA mode switch occurs.kaf24@firebug.cl.cam.ac.uk2006-05-101-4/+11
| | | | | | | | | | | If you change the video resolution on a Windows XP guest such that it uses fewer bytes of VRAM (either by using fewer bytes per pixel or by lowering the resolution) then some window backgrounds will become corrupted. This happens because the Windows XP Cirrus Logic driver assumes that VRAM is initialized to 0xff whenever the video mode switches between VGA and SVGA. Signed-off-by: Donald.D.Dugger@intel.com
* When boot device is cdrom but the cdrom is not bootable, the guest appearskaf24@firebug.cl.cam.ac.uk2006-04-281-3/+9
| | | | | | | | to hang. This patch fixes this by filling in second- and third-priority fallback boot devices. Signed-off by: Chen Jun <chenjunb@lenovo.com>
* Sync PIT device model with latest qemu and move it to hypervisor.kaf24@firebug.cl.cam.ac.uk2006-04-191-9/+3
| | | | | Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
* Fix a couple of typos.kaf24@firebug.cl.cam.ac.uk2006-04-101-1/+1
| | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix push/pop usage in tools/ioemu for x86/64.kaf24@firebug.cl.cam.ac.uk2006-04-101-1/+7
| | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* fix bug #609 - error: PIC register `bx' clobbered in `asm'vhanquez@kneesa.uk.xensource.com2006-04-101-2/+2
| | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com>
* The attached patch to the qemu emulation of the pcnet hardware fixeskaf24@firebug.cl.cam.ac.uk2006-03-262-296/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several problems. It will now only read and write a transmit or receive descriptor once. It will correctly handle transmitting frames with more than two fragments. It will discard oversize frames instead of corrupting memory. I have tested all the changes I have made and even seen an improvement in receive performance from 1.7MB/s to 3.3MB/s. Your mileage will vary. The code could be simplified if multi-fragment frames were deleted. It appears that both Linux and Windows XP don't use fragmented frames. The mac crc computation code was deleted, since it has never been used. The code was checking the wrong bit in the control register. I tested type 3 descriptors by modifying the linux pcnet32 driver, but did not see any difference in performance over type 2 currently used. I have not made any change to type 0 (16-bit) transmit/receive descriptors as I have no way to test the changes. Please test this as soon as possible, as I will be on vacation next week and in a class the following week. I will check email from time to time, but my ability to make changes to code will be greatly dimished. One other thing I noticed in my testing, is that if I tell a linux domU to reboot, it will reboot but not have any pcnet32 device after rebooting. By doing a shutdown, xm destroy and xm create, I was able to get around that problem. Signed-off-by: Don Fry <brazilnut@us.ibm.com>
* Fix a protocol violation in the pcnet emulation. Tested on at leastkaf24@firebug.cl.cam.ac.uk2006-03-201-14/+19
| | | | | | | | | two systems and fixes the 'corrupt MAC' with scp or sftp. See bug 574 for more information. Signed-off-by: Don Fry <brazilnut@us.ibm.com>
* Declare inline function as 'static inline', not 'extern inline'.kaf24@firebug.cl.cam.ac.uk2006-03-171-1/+1
| | | | | | | | Fixes the ioemu build which was broken on some systems. Signed-off-by: Keir Fraser <keir@xensource.com>
* Add Summagraphics Tablet emulation for VNC users. The current PS/2 emulationkaf24@firebug.cl.cam.ac.uk2006-03-162-294/+206
| | | | | | | | | | is unusable under VNC since a PS/2 mouse provides deltas while VNC only provides absolute coordinates. Fortunately, the Summagraphics Tablet provides absolute coordinates and works perfectly with VNC. Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
* Add a shadow VRAM to track changes to the real VRAM. When the guestkaf24@firebug.cl.cam.ac.uk2006-03-162-2/+113
| | | | | | | | | | | | | | | OS was given write access to the VRAM the device model tracked all VRAM changes by updating the entire screen on every output loop, causing significant overhead (a CPU bound loop in a guest slows down by about 35%) and significant mouse latency (VNC uses the same data path for mouse events and video updates). With the shadow VRAM only modified pages need to be updated and the comparison of the shadow VRAM to the real VRAM only adds ~4% overhead while eliminating the mouse latencies. Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
* Fix some warnings when compiling tools.kaf24@firebug.cl.cam.ac.uk2006-03-041-1/+1
| | | | | | Signed-off-by: Xin Li <xin.b.li@intel.com>
* Fix a multi HVM domain issue (bugzilla bug #542):kaf24@firebug.cl.cam.ac.uk2006-02-281-12/+13
| | | | | | | | | | | | | | | | This issue can be reproduced on SMP platform, while the domain 0 is UP. The reason is, after finishing a dma request, the dma thread will trigger the interrupt and then clear the call back function. When guest get the interrupt , it will try to check the call back function, if it is set, then it will trigger a dma request again. So if the checking for the callbackfunction happens between trigger interrupt and clear callback function on dma thread, it will cause NULL function calling. After with domain 0 UP and smp platform, this situation can be reproduced easily. Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
* Avoid pcnet dm packet loss / corruption.kaf24@firebug.cl.cam.ac.uk2006-02-251-0/+4
| | | | | | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
* Re-enable VGA acceleration under the new phys_to_machine_mapping.kaf24@firebug.cl.cam.ac.uk2006-02-163-7/+54
| | | | | | | | Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Xin B Li <xin.b.li@intel.com> Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
* Big merge the HVM full-virtualisation abstractions.kaf24@firebug.cl.cam.ac.uk2006-01-312-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset contains all differences between xen-unstable.hg and xen-unstable-hvm.hg. All information and comments for changesets unique to xen-unstable-hvm.hg are included below. Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com> > user: leendert@eserver2.watson.ibm.com > date: Tue Jan 31 04:29:51 2006 -0400 > files: xen/include/asm-ia64/mm.h > description: > Fix ia64 compile. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Tue Jan 31 02:21:49 2006 -0400 > files: xen/include/xen/domain_page.h > description: > Eliminate unused fields (pfn,va) warnings. > > Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Fri Jan 27 04:31:44 2006 -0400 > files: tools/python/xen/xend/image.py > description: > Name cleanup. vmx refers to VT-x specific code, HVM is used for all others. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: root@xen-trw1.amd.com > date: Sun Jan 22 18:39:58 2006 -0500 > files: xen/arch/x86/hvm/platform.c > description: > support prefix 0x67 in hvm decode logic, gfxboot patch causes 0x67 prefix. > > > user: twoller@xen-trw1.amd.com > date: Sun Jan 22 18:35:59 2006 -0500 > files: xen/arch/x86/hvm/svm/svm.c xen/arch/x86/hvm/svm/vmcb.c xen/include/asm-x86/hvm/svm/svm.h > description: > check for valid shared_page_va/vmcb before deallocating in SVM. > > > user: leendert@eserver2.watson.ibm.com > date: Sun Jan 22 02:56:20 2006 -0400 > files: xen/include/asm-x86/hvm/svm/svm.h xen/include/asm-x86/hvm/svm/vmmcall.h > description: > Some SVM header file cleanups. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Fri Jan 20 11:50:23 2006 -0400 > files: xen/arch/x86/domain.c > description: > Need to be more diligent about when to call into the HVM abstraction layer > and when not. > > Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Wed Jan 18 15:14:56 2006 -0400 > files: xen/arch/x86/hvm/svm/svm.c xen/arch/x86/hvm/svm/x86_32/exits.S xen/arch/x86/hvm/svm/x86_64/exits.S xen/arch/x86/hvm/vmx/x86_32/exits.S xen/arch/x86/hvm/vmx/x86_64/exits.S > description: > Added missing copyright statements and updated svm.c's copyright to properly > reflect that it was derived from vmx.c. > > Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Tue Jan 17 09:42:11 2006 -0400 > files: xen/arch/ia64/Makefile xen/arch/ia64/vmx/vlsapic.c xen/arch/ia64/vmx/vmx_init.c xen/include/asm-ia64/vmx_platform.h > description: > Make sure ia64 builds again with the new directory structure. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@localhost.localdomain > date: Tue Jan 17 08:28:51 2006 -0400 > files: xen/arch/x86/Makefile xen/arch/x86/hvm/i8259.c xen/arch/x86/hvm/vioapic.c > description: > The device models now belong in hvm. > > Signed-ff-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Sun Jan 15 16:40:58 2006 -0400 > files: xen/arch/x86/Makefile xen/arch/x86/cpu/amd.c xen/arch/x86/cpu/intel.c xen/arch/x86/dm/hvm_vioapic.c xen/arch/x86/dm/i8259.c xen/arch/x86/dom0_ops.c xen/arch/x86/domain.c xen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/intercept.c xen/arch/x86/hvm/io.c xen/arch/x86/hvm/platform.c xen/arch/x86/hvm/svm/emulate.c xen/arch/x86/hvm/svm/instrlen.c xen/arch/x86/hvm/svm/intr.c xen/arch/x86/hvm/svm/svm.c xen/arch/x86/hvm/svm/vmcb.c xen/arch/x86/hvm/svm/x86_32/exits.S xen/arch/x86/hvm/svm/x86_64/exits.S xen/arch/x86/hvm/vlapic.c xen/arch/x86/hvm/vmx/io.c xen/arch/x86/hvm/vmx/vmcs.c xen/arch/x86/hvm/vmx/vmx.c xen/arch/x86/hvm/vmx/x86_32/exits.S xen/arch/x86/hvm/vmx/x86_64/exits.S xen/arch/x86/i387.c xen/arch/x86/x86_32/entry.S xen/arch/x86/x86_32/traps.c xen/arch/x86/x86_64/entry.S xen/arch/x86/x86_64/traps.c xen/include/asm-x86/domain.h xen/include/asm-x86/hvm/domain.h xen/include/asm-x86/hvm/hvm.h xen/include/asm-x86/hvm/io.h xen/include/asm-x86/hvm/support.h xen/include/asm-x86/hvm/svm/emulate.h xen/include/asm-x86/hvm/svm/intr.h xen/include/asm-x86/hvm/svm/svm.h xen/include/asm-x86/hvm/svm/vmcb.h xen/include/asm-x86/hvm/svm/vmmcall.h xen/include/asm-x86/hvm/vcpu.h xen/include/asm-x86/hvm/vioapic.h xen/include/asm-x86/hvm/vlapic.h xen/include/asm-x86/hvm/vmx/cpu.h xen/include/asm-x86/hvm/vmx/vmcs.h xen/include/asm-x86/hvm/vmx/vmx.h xen/include/asm-x86/hvm/vpic.h xen/include/asm-x86/hvm/vpit.h xen/include/asm-x86/shadow.h > description: > As suggested by Keir, I restructured the hvm/vmx/svm tree. The new > directory structure looks like: > > xen/arch/hvm/ > xen/arch/hvm/vmx > xen/arch/hvm/vmx/x86_32 > xen/arch/hvm/vmx/x86_64 > xen/arch/hvm/svm > xen/arch/hvm/svm/x86_32 > xen/arch/hvm/svm/x86_64 > > xen/include/hvm/ > xen/include/hvm/vmx > xen/include/hvm/svm > > Many files have been renamed and had their hvm_/vmx_/svm_ suffix removed > because this is now clear from the directory where the file resides. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Sat Jan 14 17:03:28 2006 -0400 > files: xen/arch/ia64/vmx/vlsapic.c xen/include/asm-ia64/vmx_platform.h > description: > Name change fix for ia64. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Sat Jan 14 15:12:59 2006 -0400 > files: xen/arch/x86/dm/hvm_vioapic.c xen/arch/x86/dm/i8259.c xen/arch/x86/hvm.c xen/arch/x86/hvm_intercept.c xen/arch/x86/svm.c xen/arch/x86/svm_intr.c xen/arch/x86/svm_vmcb.c xen/arch/x86/vmx.c xen/arch/x86/vmx_io.c xen/arch/x86/vmx_vmcs.c xen/include/asm-x86/hvm_domain.h xen/include/asm-x86/hvm_vcpu.h > description: > Move VMX/SVM print buffer to hvm_domain. > > Cleanup variable names. The suffix hvm_ is redundant in hvm_domain. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: twoller@xen-trw1.site > date: Fri Jan 13 17:03:18 2006 -0500 > files: xen/arch/x86/svm.c > description: > remove unnecessary spin_unlock in asid_fetch code for svm. > > > user: twoller@xen-trw1.site > date: Wed Jan 11 20:00:36 2006 -0500 > files: xen/arch/x86/svm.c > description: > remove unneeded update_pagetables() during svm PF handling (resolved with ASID code rework). > > > user: leendert@eserver2.watson.ibm.com > date: Tue Jan 10 02:45:32 2006 -0400 > files: xen/arch/x86/hvm.c xen/arch/x86/vmx_io.c > description: > Factor out cpu_get_interrupt(). It is used by VMX and SVM. > > Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Mon Jan 9 00:03:30 2006 -0400 > files: xen/arch/x86/hvm.c xen/arch/x86/svm.c xen/arch/x86/vmx.c xen/include/asm-x86/hvm_support.h xen/include/asm-x86/hvm_vcpu.h > description: > Introduce small print buffer per domain rather than a single global one. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Sun Jan 8 23:07:12 2006 -0400 > files: xen/arch/x86/dom0_ops.c xen/include/asm-x86/hvm_support.h xen/include/public/arch-x86_32.h xen/include/public/arch-x86_64.h > description: > More cleanup. There is no point in distinguishing between SVM and VMX, > a single HVM flag bit suffices. > > Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Sun Jan 8 12:05:59 2006 -0400 > files: xen/arch/x86/svm.c xen/arch/x86/vmx.c > description: > Both VMX & SVM now print writes to the debug port (0xE9) on the console. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Sat Jan 7 13:55:27 2006 -0400 > files: xen/arch/x86/svm.c xen/arch/x86/svm_intr.c xen/arch/x86/svm_vmcb.c xen/arch/x86/vmx.c xen/arch/x86/vmx_io.c xen/arch/x86/vmx_vmcs.c xen/arch/x86/x86_32/asm-offsets.c xen/arch/x86/x86_64/asm-offsets.c xen/include/asm-x86/domain.h xen/include/asm-x86/vmx.h > description: > Introduce shorthands to improve code legibility. > > Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Wed Jan 4 06:12:10 2006 -0400 > files: tools/examples/xmexample.hvm > description: > Minor spelling mistakes. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Wed Jan 4 03:37:55 2006 -0400 > files: xen/include/public/hvm/hvm_info_table.h xen/include/public/hvm/ioreq.h xen/include/public/hvm/vmx_assist.h > description: > Missed adding new files. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Mon Jan 2 01:23:54 2006 -0400 > files: tools/debugger/libxendebug/xendebug.c tools/libxc/xc_hvm_build.c > description: > Finalize Xin Li's patch: vmx/svm_identify is no longer necessary. > Xen debug should test for HVM instead of VMX. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: twoller@xen-trw1.site > date: Sun Jan 1 03:22:39 2006 -0500 > files: tools/ioemu/vl.c > description: > change hardcoded VTXEN to HVMXEN. > > > user: leendert@eserver2.watson.ibm.com > date: Sun Jan 1 02:22:47 2006 -0400 > files: tools/libxc/xc_hvm_build.c tools/python/xen/xend/image.py xen/arch/x86/domain.c > description: > Avoid xen crash if there is no VMX support. If a platform > doesn't support VMX, creating VMX domain will crash xen > HV. > > Signed-off-by: Xin Li <xin.b.li@intel.com> > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > [ vmx/svm_identify are still needed in hvm builder, but this may not > really be necessary. I need to check this. - lvd ] > > > user: twoller@xen-trw1.site > date: Fri Dec 30 21:38:56 2005 -0500 > files: xen/arch/x86/svm.c xen/arch/x86/svm_vmcb.c xen/arch/x86/x86_32/entry.S xen/include/asm-x86/svm.h xen/include/asm-x86/svm_vmcb.h > description: > add multi-core support for guest ASIDs for SVM partitions. > > > user: leendert@eserver2.watson.ibm.com > date: Sun Dec 25 20:44:43 2005 -0400 > files: tools/firmware/vmxassist/head.S > description: > Make sure vmxassist still works in its debug environment. > > Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Fri Dec 23 18:27:57 2005 -0400 > files: tools/libxc/xc_ia64_stubs.c > description: > Fixed libxc ia64, xend uses xc_hvm_build instead of xc_vmx_build. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: twoller@xen-trw1.site > date: Wed Dec 21 21:39:17 2005 -0500 > files: xen/arch/x86/svm_intr.c xen/arch/x86/svm_vmcb.c > description: > cleanup of svm specific code. > > > user: leendert@eserver2.watson.ibm.com > date: Wed Dec 21 17:18:25 2005 -0400 > files: tools/python/xen/xm/tests/test_create.py tools/xm-test/README > description: > Minor name cleanups. xm-test isn't VMX specific. Instead use HVM. > > > user: twoller@xen-trw1.site > date: Tue Dec 20 20:01:38 2005 -0500 > files: xen/arch/x86/svm_vmcb.c > description: > reword comments. > > > user: twoller@xen-trw1.site > date: Tue Dec 20 20:01:07 2005 -0500 > files: xen/arch/x86/svm_intr.c > description: > add additional VLAPIC delivery modes. > > > user: twoller@xen-trw1.site > date: Tue Dec 20 20:00:22 2005 -0500 > files: xen/arch/x86/svm.c > description: > reformat misaligned code. > > > user: twoller@xen-trw1.site > date: Tue Dec 20 19:59:37 2005 -0500 > files: xen/arch/x86/svm.c > description: > Add additional AMD SVM specific CPUID logic. > > > user: leendert@eserver2.watson.ibm.com > date: Thu Dec 15 03:06:15 2005 -0400 > files: tools/xm-test/tests/block-create/01_block_attach_device_pos.py tools/xm-test/tests/block-create/02_block_attach_file_device_pos.py tools/xm-test/tests/block-create/04_block_attach_device_repeatedly_pos.py tools/xm-test/tests/block-create/05_block_attach_and_dettach_device_repeatedly_pos.py tools/xm-test/tests/block-create/06_block_attach_baddomain_neg.py tools/xm-test/tests/block-create/07_block_attach_baddevice_neg.py tools/xm-test/tests/block-create/08_block_attach_bad_filedevice_neg.py tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py tools/xm-test/tests/block-create/10_block_attach_dettach_multiple_devices.py tools/xm-test/tests/block-create/11_block_attach_shared_dom0.py tools/xm-test/tests/block-create/12_block_attach_shared_domU.py tools/xm-test/tests/block-destroy/01_block-destroy_btblock_pos.py tools/xm-test/tests/block-destroy/02_block-destroy_rtblock_pos.py tools/xm-test/tests/block-destroy/04_block-destroy_nonattached_neg.py tools/xm-test/tests/block-destroy/05_block-destroy_byname_pos.py tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py tools/xm-test/tests/block-list/01_block-list_pos.py tools/xm-test/tests/block-list/02_block-list_attachbd_pos.py tools/xm-test/tests/block-list/03_block-list_anotherbd_pos.py tools/xm-test/tests/block-list/04_block-list_nodb_pos.py tools/xm-test/tests/block-list/06_block-list_checkremove_pos.py tools/xm-test/tests/memmax/01_memmax_badparm_neg.py tools/xm-test/tests/memset/01_memset_basic_pos.py tools/xm-test/tests/memset/02_memset_badparm_neg.py tools/xm-test/tests/memset/03_memset_random_pos.py tools/xm-test/tests/memset/04_memset_smallmem_pos.py tools/xm-test/tests/migrate/01_migrate_localhost_pos.py tools/xm-test/tests/network-attach/01_network_attach_pos.py tools/xm-test/tests/network-attach/02_network_attach_detach_pos.py tools/xm-test/tests/network-attach/03_network_attach_detach_multiple_pos.py tools/xm-test/tests/restore/01_restore_basic_pos.py tools/xm-test/tests/restore/02_restore_badparm_neg.py tools/xm-test/tests/restore/03_restore_badfilename_neg.py tools/xm-test/tests/restore/04_restore_withdevices_pos.py tools/xm-test/tests/save/01_save_basic_pos.py tools/xm-test/tests/save/02_save_badparm_neg.py tools/xm-test/tests/save/03_save_bogusfile_neg.py tools/xm-test/tests/sysrq/01_sysrq_basic_neg.py tools/xm-test/tests/sysrq/02_sysrq_sync_pos.py tools/xm-test/tests/sysrq/03_sysrq_withreboot_pos.py > description: > Adding SKIP() to tests that aren't supported for VMX domains. > > Signed-off-by: Dan Stekloff <dsteklof@us.ibm.com> > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Tue Dec 13 22:43:47 2005 -0400 > files: xen/arch/x86/svm.c xen/arch/x86/vmx.c xen/arch/x86/vmx_io.c xen/include/asm-x86/hvm_vpit.h xen/include/asm-x86/msr.h > description: > Support VMX guest accesses to IA32_TIME_STAMP_COUNTER MSR. > > Signed-off-by: Haifeng Xue <haifeng.xue@intel.com> > Signed-off-by: Leendert van Doorn <leendert@us.ibm.com> > > > user: twoller@xen-trw1.site > date: Tue Dec 13 19:49:53 2005 -0500 > files: xen/arch/x86/svm.c xen/arch/x86/svm_emulate.c xen/arch/x86/svm_instrlen.c xen/arch/x86/svm_intr.c xen/arch/x86/svm_vmcb.c xen/include/asm-x86/svm.h xen/include/asm-x86/svm_emulate.h xen/include/asm-x86/svm_intr.h xen/include/asm-x86/svm_vmcb.h xen/include/asm-x86/svm_vmmcall.h > description: > Add SVM base files to repository. > > > user: twoller@xen-trw1.site > date: Tue Dec 13 19:49:02 2005 -0500 > files: xen/arch/x86/x86_32/entry.S xen/arch/x86/x86_64/entry.S > description: > Add SVM entry points for launch/resume. > > > user: twoller@xen-trw1.site > date: Tue Dec 13 19:47:38 2005 -0500 > files: .hgignore > description: > Add hvmloader files to ignore list. > > > user: leendert@eserver2.watson.ibm.com > date: Mon Dec 12 22:58:54 2005 -0400 > files: docs/src/user.tex tools/firmware/README xen/include/asm-x86/hvm.h > description: > Removed dirty words (by request). > > > user: leendert@eserver2.watson.ibm.com > date: Mon Dec 12 05:48:22 2005 -0400 > files: tools/firmware/hvmloader/mkhex > description: > Fix file mode. > > Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com> > > > user: leendert@eserver2.watson.ibm.com > date: Mon Dec 12 04:50:42 2005 -0400 > files: xen/Rules.mk xen/arch/x86/cpu/amd.c xen/arch/x86/cpu/intel.c xen/arch/x86/dm/hvm_vioapic.c xen/arch/x86/dm/i8259.c xen/arch/x86/dom0_ops.c xen/arch/x86/domain.c xen/arch/x86/hvm.c xen/arch/x86/hvm_intercept.c xen/arch/x86/hvm_io.c xen/arch/x86/hvm_platform.c xen/arch/x86/hvm_vlapic.c xen/arch/x86/mpparse.c xen/arch/x86/shadow.c xen/arch/x86/vmx.c xen/arch/x86/vmx_io.c xen/arch/x86/vmx_vmcs.c xen/arch/x86/x86_32/asm-offsets.c xen/arch/x86/x86_32/entry.S xen/arch/x86/x86_64/asm-offsets.c xen/arch/x86/x86_64/entry.S xen/arch/x86/x86_64/mm.c xen/include/asm-x86/config.h xen/include/asm-x86/cpufeature.h xen/include/asm-x86/domain.h xen/include/asm-x86/hvm_domain.h xen/include/asm-x86/hvm_io.h xen/include/asm-x86/hvm_support.h xen/include/asm-x86/hvm_vcpu.h xen/include/asm-x86/hvm_vioapic.h xen/include/asm-x86/hvm_vlapic.h xen/include/asm-x86/hvm_vpic.h xen/include/asm-x86/hvm_vpit.h xen/include/asm-x86/mpspec.h xen/include/asm-x86/msr.h xen/include/asm-x86/processor.h xen/include/asm-x86/vmx.h xen/include/asm-x86/vmx_cpu.h xen/include/asm-x86/vmx_vmcs.h > description: > Phase 3 of HVM integration: This patchset introduces the refactoring of > virtualization architecture independent functions from specific ones. > > > user: leendert@eserver2.watson.ibm.com > date: Sun Dec 11 07:02:51 2005 -0400 > files: xen/arch/x86/dom0_ops.c xen/arch/x86/domain.c xen/arch/x86/i387.c xen/arch/x86/shadow.c xen/arch/x86/vmx.c xen/arch/x86/x86_32/traps.c xen/arch/x86/x86_64/traps.c xen/include/asm-x86/hvm.h xen/include/asm-x86/hvm_support.h xen/include/asm-x86/regs.h xen/include/asm-x86/shadow.h xen/include/asm-x86/vmx_vmcs.h > description: > Phase 2 of HVM integration: This patchset introduces the hvm interface > to the hypervisor and modifies all the non-vmx specific files to use it. > > > user: leendert@eserver2.watson.ibm.com > date: Sun Dec 11 01:10:00 2005 -0400 > files: tools/examples/Makefile tools/examples/README tools/examples/xmexample.hvm tools/ioemu/exec-all.h tools/ioemu/hw/i8254.c tools/ioemu/hw/i8259.c tools/ioemu/monitor.c tools/ioemu/target-i386-dm/helper2.c tools/ioemu/vl.c tools/libxc/Makefile tools/libxc/xc_hvm_build.c tools/libxc/xc_ptrace.c tools/libxc/xc_ptrace_core.c tools/libxc/xenguest.h tools/python/xen/lowlevel/xc/xc.c tools/python/xen/xend/image.py tools/python/xen/xm/create.py tools/xm-test/configure.ac tools/xm-test/lib/XmTestLib/XenDomain.py tools/xm-test/lib/XmTestLib/config.py.in tools/xm-test/ramdisk/Makefile.am tools/xm-test/ramdisk/bin/create_disk_image tools/xm-test/tests/block-list/04_block-list_nodb_pos.py xen/include/public/arch-x86_32.h xen/include/public/arch-x86_64.h > description: > Phase 1 of HVM integration: This patchset updates the tools. Most of the > tools are machine independent except for some detection code in the hvm > domain builder.
* Cleanup dirty code avoiding warning messages when compilingkaf24@firebug.cl.cam.ac.uk2006-01-191-2/+0
| | | | | | | | ioemu. Signed-off-by: Haifeng Xue <haifeng.xue@intel.com>
* Move public hvm interfaces into xen/include/public/hvm.kaf24@firebug.cl.cam.ac.uk2006-01-033-3/+3
| | | | | | | | | | Add new header hvm_info_table.h for defining location and contents of acpi-style hvm_info_table. Remove duplicate definition in vmxassist/acpi_madt.c. Signed-off-by: Keir Fraser <keir@xensource.com>
* Add sound blaster support to VMX device model.kaf24@firebug.cl.cam.ac.uk2005-12-201-0/+9
| | | | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* This patch fix several issue to support >2G 64bit vmx guest in IA-32ekaf24@firebug.cl.cam.ac.uk2005-12-202-4/+4
| | | | | | | | | | | | platform, it includes: 1) One fix on xc_vmx_build.c 2) Change ram_size/phys_ram_size in qemu from int to uint64_t 3) One fix on pcnet unsigned short to unsigned long conversion. Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Xin Li <xin.b.li@intel.com>
* Clean up a previous qemu workaround where we usekaf24@firebug.cl.cam.ac.uk2005-11-291-10/+0
| | | | | | | | /etc/xen/qemu-vgaram-bin as vgabios. Signed-off-by: Ke Yu <ke.yu@intel.com>
* Fix a race condition for multi-thread qemu dma, where vmx linux guestskaf24@firebug.cl.cam.ac.uk2005-11-291-2/+6
| | | | | | | | | | | | | show warning "dma interrupt lost" and dma becomes very slow. root cause: In the time between set ide irq and set dma status, if guest receive the irq and query the status, it will find the status is not ready and therefore treat it as pseudo interrupt. Change the order of set irq and set dma status fixes this issue. Signed-off-by: Ke Yu <ke.yu@intel.com>
* Remove unnecessary NULL checks before freeing memory blocks.kaf24@firebug.cl.cam.ac.uk2005-11-111-4/+2
| | | | | | | | | The following functions check for NULL internally: free, kfree, xfree, free_xenheap_page[s] Signed-off-by: Keir Fraser <keir@xensource.com>
* This patch remove the obsolete ioapic code on qemu device model side.kaf24@firebug.cl.cam.ac.uk2005-11-072-832/+0
| | | | | | Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
* This patch is intended to make qemu support ia64/vti. We have validatedkaf24@firebug.cl.cam.ac.uk2005-11-053-15/+8
| | | | | | | | | | | | it against latest xen-unstable.hg, both ia32 and x86-64 are not affected. Signed-off-by Ke Yu <ke.yu@intel.com> Signed-off-by Kevin Tian <kevin.tian@intel.com> Signed-off-by Nakajima Jun <nakajima.jun@intel.com> Signed-off-by Anthony Xu <anthony.xu@intel.com>
* This patch is to remove the pit_timer when the vmx domain iskaf24@firebug.cl.cam.ac.uk2005-11-051-3/+0
| | | | | | | | | | inactive to save HV external IRQ caused by ac_time and some cleanup for ioapic in HV. Thx,eddie Signed-off-by: Eddie Dong <eddie.dong@intel.com>
* This is a fix for some device model corner cases including:kaf24@firebug.cl.cam.ac.uk2005-11-041-2/+2
| | | | | | | | | | 1: mistake sequence of set/clr to virtual IRQ line. 2: wrong sequence of IRQ request clear 3: Add one more place to enable_irq_window. Signed-off-by: Eddie Dong <eddie.dong@intel.com>
* This patch is to fix the NIC driven mechanism to make it eventkaf24@firebug.cl.cam.ac.uk2005-10-302-7/+11
| | | | | | | | driven. We will also send it to Qemu mailing list. Signed-off-by: Eddie Dong <eddie.dong@intel.com>
* Originally in qemu when a IDE dma transfer is started which is triggeredkaf24@firebug.cl.cam.ac.uk2005-10-271-0/+57
| | | | | | | | | | | | | by access to 0xc000 port in VMX, qemu will blocked there until it finished. And during that block, there are extra dom switches between dom0 and idle domain, and VMX can't be resumed. By making real IDE dma tranfer run in another thread, qemu will return and VMX resume on time and there are fewer cycle wasted. Signed-off-by: Ke Yu <ke.yu@intel.com> Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
* This is a follow up of PIC device model by Xiaofeng and me to move tokaf24@firebug.cl.cam.ac.uk2005-10-212-3/+97
| | | | | | | | | | | hypervisor using virtual weired interrupt line. With this patch the performance of CPU2K improves 7%, kernel kuild improves 14% and cyclesoak improves 12%. It is quite amazing! Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Signed-off-by: Eddie Dong <eddie.dong@intel.com>
* Update one file from qemu 0.71 for Cirrus Logic VGA device model.kaf24@firebug.cl.cam.ac.uk2005-10-211-15/+36
| | | | | | | | | Using the older device model running pinball game on windows with full screen can cause guest crash. Signed-off-by: yunhong.jiang@intel.com
* Turn off some debug switches by defaultkaf24@firebug.cl.cam.ac.uk2005-10-211-1/+1
| | | | | | | These macros cause extra prints in /var/log/xend-debug, and affect the performance. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* disable bogus touchpad device model, which cause annoying dmesg on 2.6 kernelkaf24@firebug.cl.cam.ac.uk2005-10-201-0/+27
| | | | | Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
* Add a option for enabling ne2000 NIC device modelkaf24@firebug.cl.cam.ac.uk2005-10-121-3/+3
| | | | | | | | Signed-off-by: Yan Li <yanx.li@intel.com> Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>