aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu/vl.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [IOEMU] When vncunused is specified, allocate a port from 5900kaf24@firebug.cl.cam.ac.uk2006-10-041-1/+1
| | | | | rather than 5898. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* [HVM] Make qemu_advance_timer do something sensible with timers whichSteven Smith2006-09-261-1/+1
| | | | | | aren't currently scheduled. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [HVM][VNC] Add a backoff feature to the vnc server, so that if it detectsSteven Smith2006-09-211-0/+6
| | | | | | that the display hasn't changed for a while it starts scanning more slowly. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [XEND] Move all of the various log files created by xen tokaf24@localhost.localdomain2006-08-281-1/+1
| | | | | | | | be under /var/log/xen instead of under /var/log directly. This has the advantage of cleaning things up a little and also can make it easier to restrict the permissions needed by xend. Signed-off-by: Jeremy Katz <katzj@redhat.com>
* [qemu] Allow booting from more than one device.Christian Limpach2006-08-201-7/+10
| | | | | | | | | | The rombios supports trying to boot from more than one device and then falling back. Set 'boot=dc' in your config file to try booting first from the CD and then the hard drive. Based on a patch from: Jeremy Katz <katzj@redhat.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Support HVM guests with more than 3.75G memory.Christian Limpach2006-08-171-20/+45
| | | | | | | | | | | | | | | | | | | Changes are: 1) M2P table and e820 table are changed to skip address space from HVM_RAM_LIMIT_BELOW_4G to 4G. 2) shared io page location, when less than HVM_RAM_LIMIT_BELOW_4G memory, it's the last page of RAM as today, or it's the last page of HVM_RAM_LIMIT_BELOW_4G RAM. 3) in qemu-dm address space from HVM_RAM_LIMIT_BELOW_4G to 4G are stuffed with mfns starting from 4G, so the 1:1 mapping can still works. This is ugly, but another limit check patch as changeset 10757 will prevent qemu-dm to access this range. This ugly stuffing will be removed when the patch to remove 1:1 mapping from qemu-dm gets accepted in the future. Signed-off-by: Xin Li <xin.b.li@intel.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Default monitor/serial ports to /dev/null if -nographic.chris@kneesaa.uk.xensource.com2006-08-171-2/+3
| | | | | | | | | | | | qemu-dm runs daemonized and the default for -nographic is to redirect the monitor and serial ports to stdio which causes qemu-dm to busy read from stdin. Change the default for -nographic to redirect the monitor and serial ports to /dev/null. Based on a patch from: Steven Smith <sos22-xen@srcf.ucam.org> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Add vncunused option.chris@kneesaa.uk.xensource.com2006-08-091-1/+11
| | | | | | | | If the port used for the requested display number is in use, try additional ports until a free port is found. Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [hvm/qemu] Add HVM buffered IO writes framework to accelerate stdvga speed.chris@kneesaa.uk.xensource.com2006-08-091-1/+7
| | | | | | | | | | With this patch, win2k VMX guest boots fine on xen. Signed-off-by: Zhu Han <zhu.han@intel.com> Signed-off-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Xin Li <xin.b.li@intel.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Update ioemu to qemu 0.8.2.chris@kneesaa.uk.xensource.com2006-08-071-351/+841
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Free page_array when it's no longer used.chris@kneesaa.uk.xensource.com2006-08-041-0/+2
| | | | | | | | Seems no special reason for keeping page_array, free it to avoid memroy leak in Qemu. Signed-off-by : Zhang xiantao<xiantao.zhang@intel.com>
* [qemu] Fix qemu memory access beyond 3G @VTi side.chris@kneesaa.uk.xensource.com2006-08-041-13/+25
| | | | | Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
* [qemu] Add switch to control whether acpi bridge is enabled.chris@kneesaa.uk.xensource.com2006-08-041-0/+8
| | | | | Signed-off-by: Winston Wang <winston.l.wang@intel.com>
* [qemu] Write the port number where the vnc server is listening to xenstore.chris@kneesaa.uk.xensource.com2006-08-031-0/+1
| | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Use xenstore to configure ioemu block devices.chris@kneesaa.uk.xensource.com2006-08-031-2/+37
| | | | | | | | | | | | | - read ioemu block device config from xenstore - don't require the ioemu: prefix on block devices any longer - allow change of media associated with cdrom drives - replace cdrom= option by :cdrom suffix on regular block device config: 'file:/root/mytest.iso,hdc:cdrom,r' - don't create default cdrom drive anymore - to create default empty cdrom drive use: ',hdc:cdrom,r' Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* Add back changes lost from xen-ia64 cset 10570:8dc4af3f192cchris@kneesaa.uk.xensource.com2006-07-291-2/+2
| | | | | | | with the new qemu tree. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* [qemu] Fix -net tap option when no ifname is specified.chris@kneesaa.uk.xensource.com2006-07-271-0/+1
| | | | | | | | | | Uninitialized ifname can cause qemu to quit. If the first character of the ifname is not \0, qemu will think it's a valid ifname and configure /dev/net/tun to use it. The configuration fails and qemu exits. Based on a patch from: Steve Dobbelstein <steved@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* IA64-specific code for new Qemuchris@kneesaa.uk.xensource.com2006-07-261-0/+29
| | | | | | | | | Due to some ia64 patches aren't checked into xen-unstable.hg. I reversed related logic. Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* Spawn vncviewer from qemu-dm.chris@kneesaa.uk.xensource.com2006-07-141-0/+10
| | | | | | | | | | - add vncviewer option to qemu-dm to spawn a vncviewer process. - add the `vncconsole' config parameter which enables qemu-dm's vncviewer option. Based on a patch from: Don Dugger <donald.d.dugger@intel.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* Change the qemu to allow no network arguments, removing thechris@kneesaa.uk.xensource.com2006-07-141-0/+2
| | | | | | | | "-net nic -net user" default. Based on a patch from: Daniel Stekloff <dsteklof@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [IOEMU] Enable gui_timer unless the display is exported over VNC.chris@kneesaa.uk.xensource.com2006-07-131-1/+4
| | | | | | | Based on bug report from: Huang2, Wei <Wei.Huang2@amd.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* Add qemu 0.8.1 based ioemu.chris@kneesaa.uk.xensource.com2006-07-121-0/+6001
| | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* Remove qemu 0.6.1 based ioemu.chris@kneesaa.uk.xensource.com2006-07-121-3491/+0
| | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [HVM][DM] Backport the USB support from QEMU 0.8.1 to the current Xenkaf24@firebug.cl.cam.ac.uk2006-06-121-3/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Represent PFNs with their own type, rather than 'unsigned long'.kaf24@firebug.cl.cam.ac.uk2006-06-061-7/+8
| | | | | | ('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-021-1/+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-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Allow to specify different time-of-day clock offsets for HVM guests.kaf24@firebug.cl.cam.ac.uk2006-05-171-3/+10
| | | | | | | | | | | | 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>
* Fix the cirrus vga model to not leak memory when switching betweenkaf24@firebug.cl.cam.ac.uk2006-05-121-89/+8
| | | | | | | | | | | | | | | | | 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-91/+2
| | | | | 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-101-1/+2
| | | | | | | | | | | | | 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
* merge with xen-unstable.hgawilliam@xenbuild.aw2006-04-181-1/+1
|\
| * The default value used to control whether the guest is set up with localtime kaf24@firebug.cl.cam.ac.uk2006-04-131-1/+1
| | | | | | | | | | | | | | or utc in the RTC was wrong. Signed-Off-By: Bruce Rogers <brogers@novell.com>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-04-111-2/+13
|\|
| * If the 'cdrom=' option is specified in the definition file but media is kaf24@firebug.cl.cam.ac.uk2006-04-101-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not found in the CD drive then main() in vl.c exits and the guest appears to hang. This patch modifies vl.c slightly to check for the presents of media. If the cdrom cannot be opened then the cd entry is removed from hd_filename[] and bs_table[] allowing the guest to continue initializing. If the guest requires the CD media then the guest should report, gracefully or otherwise, that it's missing. From: Ross Maxfield <rmaxfiel@novell.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * Add code to make handling domain poweroff/reboot symmetrical betweenkaf24@firebug.cl.cam.ac.uk2006-04-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | paravirtualized and fully virtualized. This approach uses the new sched_op to handle other domains than the current domain. The new code, SCHEDOP_remote_shutdown, is very much like SCHEDOP_shutdown, but is called with the id of the domain which is to be shut down. This allows fully virtualized shutdown and para-virtualized shutdown to be identical from that point forward. A paravirtualized domain uses sched_op to shut down and set the reason code. This will send a VIRQ_DOM_EXC, which can be handled in dom0 by control software. In some ways, this resembles SIGCHILD/waitpid, and is a reasonable model. The fully virtualized case has qemu invoke xm directly. This is a different path than paravirtualized. It also removes decision and policy making choices from the rest of the control software and places it within qemu. When any dom0 logic eventually gets a VIRQ_DOM_EXC, the information about the domain is gone having been destroyed by xm. A libxenctrl wrapper, xc_shutdown_domain has been added and qemu now calls it. As a freebie, #if 0 some very verbose logging code in qemu. Totally unrelated, but as long as I was there... Signed-off-by: Ben Thomas <ben@virtualiron.com>
* | [IA64] Add memory operations for xen/ia64awilliam@xenbuild.aw2006-04-041-1/+2
|/ | | | | | | | | | | | | | | | | | | | This patch removes ugly hack upon memory operation and thus allow inc/decrease_reservation op available for xen/ia64 now. As a result: * Now we conform to common sequence where all domain pages are allocated together by increase_reservation before image builder * physmap table is now built at point of arch_set_info_guest * DOM0_GETMEMLIST can only query without allocation now After this patch, some long-existing hacks due to mismatched memory interface are cleaned this time. Also this is a base step toward introducing balloon feature into xen/ia64. Signed-off-by Kevin Tian <kevin.tian@intel.com>
* Add Summagraphics Tablet emulation for VNC users. The current PS/2 emulationkaf24@firebug.cl.cam.ac.uk2006-03-161-2/+2
| | | | | | | | | | 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>
* Fix some warnings when compiling tools.kaf24@firebug.cl.cam.ac.uk2006-03-041-2/+2
| | | | | | Signed-off-by: Xin Li <xin.b.li@intel.com>
* Per-vcpu IO evtchn patch for HVM domain.kaf24@firebug.cl.cam.ac.uk2006-02-231-9/+0
| | | | | | | | 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-161-133/+140
| | | | | | | | 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-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | ioemu. Signed-off-by: Haifeng Xue <haifeng.xue@intel.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>
* This patch fix several issue to support >2G 64bit vmx guest in IA-32ekaf24@firebug.cl.cam.ac.uk2005-12-201-2/+2
| | | | | | | | | | | | 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-131-0/+7
| | | | | | | | | | | 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-111-5/+8
| | | | | | | | | /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-031-0/+8
| | | | | | | | 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-011-1/+1
| | | | | | | | to user space thru /dev/xen/evtchn. Signed-off-by: Keir Fraser <keir@xensource.com>