aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu
Commit message (Collapse)AuthorAgeFilesLines
* Big simplification of the Xen event-channel interface.kaf24@firebug.cl.cam.ac.uk2005-10-071-1/+1
| | | | | | | | EVTCHNOP_bind_interdomain in particular is much simpler. Signed-off-by: Keir Fraser <keir@xensource.com>
* User tools send evtchn notifications via /dev/xen/evtchnkaf24@firebug.cl.cam.ac.uk2005-10-061-5/+3
| | | | | | | | rather than using hypercall directly. Signed-off-by: Keir Fraser <keir@xensource.com>
* Change how event channels are allocated and used by the controlkaf24@firebug.cl.cam.ac.uk2005-10-062-13/+18
| | | | | | | | | | | | | | tools. /dev/xen/evtchn is now used by daemons to connect to remote domains: the advantage is that the local ports are garbage collected automatically if the daemon dies. xen no longer constructs end-to-end event-channel port pairs -- it allocates an unbound port in new domU and writes that port to xenstore. It is then picked up by teh appropriate daemon which does interdomain bind via /dev/xen/evtchn. Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix tools to pull public header files from standardkaf24@firebug.cl.cam.ac.uk2005-10-045-10/+10
| | | | | | | | | | location in libxc directory. Not direct from xen and xenlinux build trees! Also fix a type name in x86_emulator test harness. Signed-off-by: Keir Fraser <keir@xensource.com>
* Initialize pointer array for set mapping.yjiang5@vtsmp-build.sh.intel.com2005-09-281-1/+2
| | | | | | Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
* Add VGA acceleration support for cirrus logic device modelkaf24@firebug.cl.cam.ac.uk2005-09-235-17/+268
| | | | | | | | Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
* Parse vcpus for VMX guest.kaf24@firebug.cl.cam.ac.uk2005-09-211-0/+7
| | | | | | | | | | Vcpus are passed to device model and vmx domain builder. Signed-off-by: Yan Li <yanx.li@intel.com> Signed-off-by: Xin Li <xin.b.li@intel.com>
* Clear pending interrupt on shared page when pic initializedkaf24@firebug.cl.cam.ac.uk2005-09-141-11/+16
| | | | | | | | and irq base changed. Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
* This trivial patch makes sure that mem-map.sxp and the qemu bitskaf24@firebug.cl.cam.ac.uk2005-09-131-1/+1
| | | | | | | | | get installed in /usr/lib64 on distributions that want things there. Signed-off-by: Rik van Riel <riel@redhat.com>
* Fix bug that service os & vmx guest can't communicate withkaf24@firebug.cl.cam.ac.uk2005-09-101-0/+11
| | | | | | | | | | | each other. The bug was physical packets smaller than minimal packet size of 60 bytes were gettign thrown away. Hence ARP traffic for example was dropped. Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* Attached are the patches for new ioemu communication mechanism. The newkaf24@firebug.cl.cam.ac.uk2005-09-023-93/+183
| | | | | | | | | | | | mechanism provides richer I/O operation semantics, such as and,or,xor operation on MMIO space. This is necessary for operating systems such as Windows XP and Windows 2003. This is the first part of a two part patch. This patch applies to ioemu. Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
* Qemu-dm dumps core with the pcnet device. This patches fixes it.kaf24@firebug.cl.cam.ac.uk2005-09-021-4/+8
| | | | | | | | | | | | | | | | | | | When pcnet_receive calls pcnet_poll, which polls the receive and the send rings. Whenever there is an element in the send ring that is owned by the Lance chip it will call pcnet_transmit and send it. When the element is the endp(acket), pcnet_transmit will copy it out, send the packet (qemu_send_packet) and then clear the owner bit. Somewherer along the qemu_send_packet execution path, pcnet_recieve is called again, which calls pcnet_poll and starts this whole process again. This very rapidly leads to a stack overflow and crashes qemu. The fix is simple, stop the recursion. Once the packet is copied into qemu datatstructure (before qemu_send_packet is called!), the owner bit on the ring element should be cleared. Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
* Merge.adsharma@los-vmm.sc.intel.com2005-08-256-6/+6
|\
| * Rename libxc => libxenctrl and xc.h => xen/xenctrl.hcl349@firebug.cl.cam.ac.uk2005-08-246-6/+6
| | | | | | | | | | | | | | | | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : tools/libxc/xc.h => tools/libxc/xenctrl.h
| * Enable multi-word DMA mode 2 for the PIIX3 chipsetadsharma@los-vmm.sc.intel.com2005-08-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Without this patch, Linux PIIX3 driver would see ultra DMA and get confused and ended up disabling DMA. With the patch, we're able to see 3x increase in disk read throughput. Signed-off-by: Winston Wang <winston.l.wang@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
| * When the guest shuts down a VM, make sure that the domain gets destroyed.kaf24@firebug.cl.cam.ac.uk2005-08-112-7/+13
| | | | | | | | | | | | | | | | | | | | Device model needs to do xm destroy before it exits on guest shutdown/poweroff/halt -p. Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
| * Support rebooting VMX domainskaf24@firebug.cl.cam.ac.uk2005-08-113-2/+22
| | | | | | | | | | | | | | Signed-off-by: Ke Yu <ke.yu@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | Implement cpu_physical_memory_reset_dirty()adsharma@los-vmm.sc.intel.com2005-08-223-2/+13
| | | | | | | | | | | | | | Signed-off-by: Don Dugger <donald.d.dugger@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | PCNET NIC card support for qemuadsharma@los-vmm.sc.intel.com2005-08-166-2/+1806
| | | | | | | | | | | | | | | | | | | | Based on: http://cyberkinetica.homeunix.net/qemu/qemu-pcnet.patch6.gz Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | Enable multi-word DMA mode 2 for the PIIX3 chipsetadsharma@los-vmm.sc.intel.com2005-08-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Without this patch, Linux PIIX3 driver would see ultra DMA and get confused and ended up disabling DMA. With the patch, we're able to see 3x increase in disk read throughput. Signed-off-by: Winston Wang <winston.l.wang@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | Merge.adsharma@los-vmm.sc.intel.com2005-08-112-4/+2
|\|
| * Remove qemu-vgaram-bin. It's not used any more.kaf24@firebug.cl.cam.ac.uk2005-08-112-4/+2
| |
* | Revert e5ea9df58340e4ff0351683270bfa4da25191d31adsharma@los-vmm.sc.intel.com2005-08-091-2/+2
| | | | | | | | | | | | The real issue is somewhere else.
* | When the guest shuts down a VM, make sure that the domain gets destroyed.adsharma@los-vmm.sc.intel.com2005-08-092-7/+13
| | | | | | | | | | | | | | | | | | | | Device model needs to do xm destroy before it exits on guest shutdown/poweroff/halt -p. Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | Fix Mouse hang with VNCadsharma@los-vmm.sc.intel.com2005-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've made some progress on this problem. Turns out, the VNC emulator is a little over aggressive in dealing with reset commands for the mouse. Since there are commands that enable and disable the mouse the VNC emulator provides this control. Unfortunately, VNC also interprets either a `reset' or `set to default' command to also disable the mouse. This is wrong, neither of these commands are supposed to affect the enabled status of the mouse so that, when X sends a `reset', no futher mouse data is sent, making it look like X is hung. Signed-off-by: Don Dugger <donald.d.dugger@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | Support rebooting VMX domainsadsharma@los-vmm.sc.intel.com2005-08-093-2/+22
|/ | | | | | | Signed-off-by: Ke Yu <ke.yu@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* Restore command line parsing code from qemu-0.6.1kaf24@firebug.cl.cam.ac.uk2005-07-251-4/+28
| | | | | | | | | This enables cdrom ejection (both file based and physical i.e. /dev/cdrom) Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* Fix the path to qemu-dmkaf24@firebug.cl.cam.ac.uk2005-07-251-1/+1
|
* Translate some control characters in the qemu monitor.kaf24@firebug.cl.cam.ac.uk2005-07-251-1/+22
| | | | | | | | | This removes odd control characters displayed in the qemu monitor with vnc Signed-off-by: Edwin Zhain <edwin.zhai@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* Shell scripts aren't very strippable and some versions of install getkaf24@firebug.cl.cam.ac.uk2005-07-061-1/+1
| | | | | | | | very unhappy if you try to. Signed-off-by: Jeremy Katz <katzj@redhat.com>
* Install qemu-dm.debug script.kaf24@firebug.cl.cam.ac.uk2005-07-031-2/+1
|
* Improve the IDE HD geometry auto detection algorithm.kaf24@firebug.cl.cam.ac.uk2005-07-011-2/+10
| | | | | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Asit K Mallick <asit.k.mallick@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* Get rid of references to qemu-dm.debug.kaf24@firebug.cl.cam.ac.uk2005-07-011-1/+1
|
* Device model path cleanup. Remove bochsrc which is no longer needed.kaf24@firebug.cl.cam.ac.uk2005-07-011-8/+6
| | | | | Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1781 (42c3a8d63EmXV0wA3jHItrRQ0fKLsg)arun.sharma@intel.com[kaf24]2005-06-302-3/+2
| | | | | | | | | | | | [PATCH] Support VMX guests with 512M/1G memory. Support VMX guests with 512M/1G memory. Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com> diff -r f6e5bd774f51 -r 13e02f197018 tools/ioemu/configure
* bitkeeper revision 1.1780 (42c3a8c4tqEOpGy663gWO35k5QwZTw)arun.sharma@intel.com[kaf24]2005-06-308-11/+895
| | | | | | | | | | | | | | | | | | | [PATCH] Infrastructure for interrupt handling. Infrastructure for interrupt handling. - support interruptibility - handle interrupt window exiting control appropriately - Add ioapic device models imported from Bochs under LGPL - generalize the interrupt architecture to support both PIC/APIC This patch is necessary to fix several bugs on 32 bit VMX and prepares the ground for adding a local APIC device model in the hypervisor. Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1776 (42c3a877bezcV9uHoSXuU-GWoyVOKw)arun.sharma@intel.com[kaf24]2005-06-304-2/+1346
| | | | | | | | | | | | | | [PATCH] Enable qcow in the device models. Enable qcow in the device models. This saves disk space when dealing with large guest images. Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com> diff -r 5d58883fc7b8 -r 499ac8e8df00 tools/ioemu/block.c
* bitkeeper revision 1.1773 (42c3a841nLib9kdSmthr05jouqiNeg)arun.sharma@intel.com[kaf24]2005-06-309-104/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] Device model cleanup. Device model cleanup. - Single config file for xen and device models (Shell script doesn't source xmdefconfig anymore) - No more device-model shell script by default. You can have one if needed (qemu-dm.debug) - All logic in the script device-model is moved to python - $DISPLAY is passed from xm to xend - Don't fork vncviewer on dryruns - Add support for killing device models on domain destroy - info vmxiopage command added to the monitor - Refactor shared io page into global and per vcpu state - Remove the hard coding of IOPACKET_PORT - move the virtual_platform_def up to domain struct from vcpu - xm create -n: (vm (name ExampleVMXDomain) (memory 128) (ssidref -1) (image (vmx (kernel /usr/lib/xen/boot/vmxloader) (root '/dev/hda1 ro') (vcpus 1) ) ) (memmap ) (device_model /tmp/foo) (hda /var/images/min-el3-i386.img) (hdb ) (hdc ) (hdd ) (cdrom ) (boot c) (fda ) (fdb ) (localtime 0) (serial ) (macaddr ) (stdvga 0) (isa 0) (nographic 0) (vnc 0) (sdl 0) (display localhost:10.0) ) Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1737 (42ba86724fSOFpp6L107qJDWXNKxug)kaf24@firebug.cl.cam.ac.uk2005-06-231-0/+3
| | | | | | | | | | | | | | Attached is the patch with 1. Cleanup of code & correct error handling for MMIO instructions. 2. Decoding of 64bit instructions for MMIO. Signed-Off-By: Chengyuan Li <chengyuan.li@intel.com> Signed-Off-By: Yunhong Jiang <hunhong.jiang@intel.com> Signed-Off-By: Jun Nakajima <jun.nakajima@intel.com> Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
* bitkeeper revision 1.1722 (42b7bcc4JmG_ITQ35E28L1mWc_g_ZQ)leendert@watson.ibm.com[iap10]2005-06-212-2/+327
| | | | | | | | | | | | | [PATCH] ioemu-monitor.patch The following patch adds back qemu monitor commands to qemu-dm which make sense. That is, eject and change devices, and show some device state. Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> ===== tools/ioemu/monitor.c 1.1 vs edited =====
* bitkeeper revision 1.1705.1.2 (42a9372fTpt-bOGdIcKsOLb8_xlJ4Q)kaf24@firebug.cl.cam.ac.uk2005-06-1012-300/+0
| | | | | | | Remove tools/ioemu/pc-bios. We have replacements in tools/firmware now. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1687 (42a54554WlNG2upO1_XkGsTZKFcGnQ)arun.sharma@intel.com[kaf24]2005-06-072-21/+42
| | | | | | | | | | [PATCH] vmx-pit-reset-vector.patch If the guest resets irq_base in the PIC, we should reset the vector in the hypervisor as well. Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1615.1.2 (429c8826fS2FuIKb-STmuvL0Hl6awQ)kaf24@firebug.cl.cam.ac.uk2005-05-312-1/+3
| | | | | | | | | | ioemu fixes: do not install into /usr/share/qemu as it conflicts with real qemu installations. Also, do not link x86/64 with a special linker script -- breaks on SLES9 and ought to be unnecessary. The linker scripts and configuration/Makefile environment all need stripping out at some point. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1579 (429831c4g3vltIzzOokMmu5rtSZAcQ)leendert@watson.ibm.com[kaf24]2005-05-283-6/+4
| | | | | | | | | | [PATCH] [PATCH] ioemu: enable Cirrus VGA emulation At some point the Cirrus VGA driver was commented out. Probably for debugging. The patch below adds it back in. It works just fine. Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
* bitkeeper revision 1.1573 (4296dbfdboYgUQZDJC6lNdNzKGXKag)leendert@watson.ibm.com[kaf24]2005-05-271-0/+8
| | | | | | | | | | [PATCH] [PATCH] ioemu device-model ignores variables Trivial patch. The device-model wrapper ignores cdrom and boot variables. This patch adds them. Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
* bitkeeper revision 1.1543 (42943085tTGU_YurrAPsDOCEjAU21g)arun.sharma@intel.com[kaf24]2005-05-253-1/+49
| | | | | | | | | [PATCH] qemu-e9.patch Log port E9 output to the qemu log file. Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1540 (42939e7f8_AuNACTheIei6BJ0yjKyA)arun.sharma@intel.com[kaf24]2005-05-241-1/+1
| | | | | | | | | | | | [PATCH] xen.vncserver-quiet-configure.patch When configure looks for VNC Server library installation by executing libvncserver-config, make sure we don't print messages to the console if we cannot find the libvncserver-config program. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1534.1.1 (429399e0oJudIjoFsgWFxNKnCM7qTg)cl349@firebug.cl.cam.ac.uk2005-05-241-1/+1
| | | | | | | | | | | Nothing but vnet uses libxutil -- move it there. Makefile, xc.c, setup.py, configure, configure.in, Makefile.in: This doesn't use libxutil. Makefile, Makefile.vnet, Rules.mk: Move libxutil into vnet since it's only used there. Many files: mvdir
* bitkeeper revision 1.1523 (4292e3afzZhOD910qby84MZZyEFPZQ)arun.sharma@intel.com[kaf24]2005-05-242-2/+3
| | | | | | | | | | | | [PATCH] qemu-unregister-c0000.patch QEMU fixes - VMX domain owns 0xcxxxx. - guard the fprintf with a log level check Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1515.1.1 (42922641RfGxKY5iamyIb3lRFjlpzQ)rneugeba@wyvis.research.intel-research.net2005-05-236-9/+97
| | | | | | | | | better support for vnc in qemu device model: - different ports for different VMs - allow reverse connect to a running viewer Signed-off-by: Rolf Neugebauer <rolf.neugebauer@intel.com>