aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-167-317/+283
| | | | | | | | | | 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>
* Change the VNC main input loop delay from 1 second down to 10kaf24@firebug.cl.cam.ac.uk2006-03-161-2/+2
| | | | | | | | | | msec. The 1 second delay was causing significant latency problems with the mouse while there is no measurable overhead in lowering the delay down to 10 msec. 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-163-4/+122
| | | | | | | | | | | | | | | 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>
* Enable the ejection of the physical cdrom tray, when user enterskaf24@firebug.cl.cam.ac.uk2006-03-111-0/+4
| | | | | | | | "eject cdrom" in the control console of a VMX guest. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
* More build config changes:kaf24@firebug.cl.cam.ac.uk2006-03-102-4/+4
| | | | | | | | | | - Build -O2 rather than -O3 - Build with -Wstrict-prototypes - Move target-specific generic compiler switches to Config.mk Signed-off-by: Keir Fraser <keir@xensource.com>
* Move 'debug' build option into the outermost Config.mk file.kaf24@firebug.cl.cam.ac.uk2006-03-093-14/+13
| | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Clean up the usage of CFLAGS. This is nice for packagers, who wouldkaf24@firebug.cl.cam.ac.uk2006-03-092-2/+2
| | | | | | | | like to control the base compilation flags from a central place. Signed-off-by: Charles Coffing <ccoffing@novell.com>
* Fix some warnings when compiling tools.kaf24@firebug.cl.cam.ac.uk2006-03-045-19/+13
| | | | | | Signed-off-by: Xin Li <xin.b.li@intel.com>
* Fix tools Makefiles to respect CFLAGS. Disable stack-smashkaf24@firebug.cl.cam.ac.uk2006-02-282-4/+8
| | | | | | | | protection when building vmxassist/hvmloader. Signed-off-by: Keir Fraser <keir@xensource.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>
* Per-vcpu IO evtchn patch for HVM domain.kaf24@firebug.cl.cam.ac.uk2006-02-232-40/+45
| | | | | | | | We are starting to send patches to support SMP VMX guest. Signed-off-by: Xin Li <xin.b.li@intel.com>
* Re-enable VGA acceleration under the new phys_to_machine_mapping.kaf24@firebug.cl.cam.ac.uk2006-02-164-140/+194
| | | | | | | | 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>
* There is a known "xm console" issue related with VMX. When "serial" is jrb44@plym.cl.cam.ac.uk2006-02-021-10/+25
| | | | | | | | | | | | | | | | enabled in script and no once uses "xm console" to read the console, VMX boting will hang due to the buffer is full. I added a "select" before "write". If it could not be written, unix_write will Return immediately and it will not block the VMX booting. With this fix, we can make VMX's serial enable by default. Signed-off-by: Yu Ping <ping.y.yu@intel.com> Modified to patch xmexample.hvm. Put through xenrt on a VMX box. Signed-off-by: James Bulpin <james@xensource.com>
* Big merge the HVM full-virtualisation abstractions.kaf24@firebug.cl.cam.ac.uk2006-01-316-34/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* The arguments to memset are ordered incorrectly in thekaf24@firebug.cl.cam.ac.uk2006-01-201-2/+2
| | | | | | | | pcm_hw_clear function of audio.c. Signed-off-by: Charles Coffing <ccoffing@novell.com>
* Cleanup dirty code avoiding warning messages when compilingkaf24@firebug.cl.cam.ac.uk2006-01-195-5/+7
| | | | | | | | 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-034-4/+4
| | | | | | | | | | 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>
* Fix a missing break in ioemu command-line parsing switchkaf24@firebug.cl.cam.ac.uk2005-12-301-0/+1
| | | | | | | | statement. Signed-off-by: Xin Li <xin.b.li@intel.com>
* Add sound blaster support to VMX device model.kaf24@firebug.cl.cam.ac.uk2005-12-2013-0/+2709
| | | | | | 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-206-10/+10
| | | | | | | | | | | | 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>
* Add an option for device model to disable key repeat.kaf24@firebug.cl.cam.ac.uk2005-12-133-1/+10
| | | | | | | | | | | On slow network, when creating a vmx guest remotely, the key repeat feature may make it hard to even type the user name and password to login in to guest OS. Signed-off-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* Rename QEMU device model log file from /tmp/qemu.log tokaf24@firebug.cl.cam.ac.uk2005-12-112-9/+11
| | | | | | | | | /var/log/qemu-dm.<pid>.log. Also redirect stderr to this log file. Signed-off-by: Xin Li <xin.b.li@intel.com>
* Set the device model windows title as the domain namekaf24@firebug.cl.cam.ac.uk2005-12-034-3/+12
| | | | | | | | This helps when creating multile vmx domain. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* Define explicit evtchn_port_t type (32 bits) and plumb upkaf24@firebug.cl.cam.ac.uk2005-12-012-4/+4
| | | | | | | | to user space thru /dev/xen/evtchn. Signed-off-by: Keir Fraser <keir@xensource.com>
* ptsname() is applied to the master fd, not the slave fd.kaf24@firebug.cl.cam.ac.uk2005-12-011-2/+2
| | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix serial pty creation in qemu-dm. Set raw attributes tokaf24@firebug.cl.cam.ac.uk2005-11-301-7/+10
| | | | | | | | | | avoid weird buffering behaviour and obtain the pty name via ptsname(). Signed-off-by: Ping Yu <ping.y.yu@intel.com> Signed-off-by: Keir Fraser <keir@xensource.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>
* Fix the issue of on x86_64, rhel4 can not get into runlevel 5.kaf24@firebug.cl.cam.ac.uk2005-11-251-6/+17
| | | | | | | | | Xserver will scan pci and the cirrus VGA driver will register mmio each time, cause mmio array out of space. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* Clean up some Xen files in the ioemulator.kaf24@firebug.cl.cam.ac.uk2005-11-242-528/+549
| | | | | | | | | | 1) fix indent 2) use fprintf(logfile, ...) instead of perror and printf 3) remove tailing spaces Signed-off-by: Xin Li <xin.b.li@intel.com>
* Set up fully-virtualised RTC time zone default to localkaf24@firebug.cl.cam.ac.uk2005-11-181-1/+1
| | | | | | | | time (not UTC). Signed-off-by: Winston Wang <winston.l.wang@intel.com>
* Previous changeset trivially broke ioemu/helper2.c. Fix it.kaf24@firebug.cl.cam.ac.uk2005-11-151-1/+1
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* This patch fixed keyboard issue for linux kernel 2.6 in vmx guest.kaf24@firebug.cl.cam.ac.uk2005-11-151-2/+3
| | | | | | | | | | | | | | | linux 2.6 kernel keyboard use a timer to poll the kbd state,in virtualization environment,the kbd interrupt injection is very likely to happend just after kbd state query in the kbd timer and thus will reverse sequence of scan code. Also fix env->send_event SMP issue. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Signed-off-by: Edwin Zhai<edwin.zhai@intel.com> Signed-off-by: Eddion Dong <eddie.dong@intel.com> Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
* Trivial Makefile cleanup for ioemu.kaf24@firebug.cl.cam.ac.uk2005-11-141-2/+2
|
* Remove unnecessary NULL checks before freeing memory blocks.kaf24@firebug.cl.cam.ac.uk2005-11-112-8/+4
| | | | | | | | | The following functions check for NULL internally: free, kfree, xfree, free_xenheap_page[s] Signed-off-by: Keir Fraser <keir@xensource.com>
* This patch use same expression as vif for vmx guest but has a distinguish ↵Xiaofeng Ling2005-11-102-2/+10
| | | | | | | | | | | | | | | | | | "type=ioemu" just like block device. e.g. vif=['type=ioemu, mac=01:00:00:00:00:33, bridge=xenbr0'] type=ioemu to specify for vmx NIC device. nics=4 can specify 4 vmx NIC now. bridge is passed to device model now. With this patch, the error "Error: Device 0 (vif) could not be connected." will not happen for creating vmx guest currently, it happens on some linux distribution. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* Enable xm console for vmx guest.kaf24@firebug.cl.cam.ac.uk2005-11-102-3/+49
| | | | | | | | | | | When the serial port is redirect to pty, write the allocated device to xenstore, then xm console can get it. TODO:serial port by pty shall not block if there are no reading on the other end Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* Support recent change moving virtual IOAPIC model into Xen forkaf24@firebug.cl.cam.ac.uk2005-11-093-3/+4
| | | | | | | | | | | | | | | | | | | | | ia64/VTI. Now ia64/vti will create links to arch/x86/dm/vmx_vioapic.c and include/x86/vmx_vlapic.h. Firstly, a small change to common virtual IOAPIC model to be used by both sides. Also some compilation fix to tools is included in first one. Secondly, there are ia64-specific changes to hook to common IOAPIC model. Based on this patch upon latest xen-ia64-unstable tip, we can see multiple domains working again on XEN/IA64, including both domU and VTI domain simultaneously in run-time. Signed-off-by Kevin Tian <kevin.tian@intel.com> Signed-off-by Anthony Xu <Anthony.xu@intel.com> Signed-off-by Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by Eddie Dong <eddie.dong@intel.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-0510-26/+400
| | | | | | | | | | | | 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-053-12/+1
| | | | | | | | | | 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>
* Merged.emellor@leeni.uk.xensource.com2005-10-305-19/+90
|\
| * This patch is to fix the NIC driven mechanism to make it eventkaf24@firebug.cl.cam.ac.uk2005-10-305-19/+90
| | | | | | | | | | | | | | | | driven. We will also send it to Qemu mailing list. Signed-off-by: Eddie Dong <eddie.dong@intel.com>
* | Added -lpthread to qemu-dm link line, in order to compile even without SDLemellor@leeni.uk.xensource.com2005-10-301-1/+1
|/ | | | | | | installed. Signed-off-by: Ewan Mellor <ewan@xensource.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>