aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu
Commit message (Collapse)AuthorAgeFilesLines
...
* This is a follow up of PIC device model by Xiaofeng and me to move tokaf24@firebug.cl.cam.ac.uk2005-10-214-24/+98
| | | | | | | | | | | 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
* Send special keys that your graphical user interface intercepts atkaf24@firebug.cl.cam.ac.uk2005-10-211-0/+157
| | | | | | | | | | | | | | | low level, such as ctrl-alt-del in X Window. Adds a command "sendkey" to deal with it in the monitor, you can send keys to the vm. Use - to press several keys simultaneously. Example: sendkey ctrl-alt-f1 Signed-off-by: Dan Xu <dan.d.xu@intel.com> Signed-off-by: Zhai, Edwin <edwin.zhai@intel.com> Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* Turn off some debug switches by defaultkaf24@firebug.cl.cam.ac.uk2005-10-212-3/+3
| | | | | | | 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>
* New network-bridge script and associated gubbins.emellor@leeni.uk.xensource.com2005-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is Kurt Garloff's reworked network-bridge script: * we got rid of ifconfig * it works for netdev != eth0 * arp on and off are symmetric as are ifdown and ifup * ifup will be passed the ifcfg config file name if needed (the ifup may otherwise figure that the veth0 hardware is NOT the same as the original ${netdev} and not use the same config -- this happens on SUSE. Charles Coffing tracked this one down.) Plus Kurt's avoid-dash patch: the network setup scripts on SUSE have trouble with the bridge name xen-br0; they don't expect the '-'. Arguably this should be fixed. But I assume there's more scripts out there which may not like it, so I suggest the following patch to rename xen-br0 to xenbr0. Plus Charles Duffy's patch to support multiple bridges: The attached patch allows the network-bridge script to be used to generate multiple bridges corresponding to different physical interfaces. It adds a new parameter, "vifnum", used to refer both to the loopback interface to be used and to set defaults regarding the physical interface and bridge name. Thus, if one wishes to start xenbr0 on eth0 and xenbr1 on eth1, one need only call: network-bridge start ## vifnum is 0 by default network-bridge start vifnum=1 ...well, that and set loopback.nloopbacks=2 in the Dom0 kernel parameters. Plus renaming of virtnum to vifnum in Charles' patch, as requested by Ian Pratt. Plus a fix to DevController to allocate vif IDs starting from 0 (i.e. vif2.0 is now domain 2's first vif, as opposed to vif2.1 in the recent past). Plus tidying up inside network-bridge using some helper variables. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add a option for enabling ne2000 NIC device modelkaf24@firebug.cl.cam.ac.uk2005-10-123-10/+10
| | | | | | | | 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>
* Fix Xen public interfaces and the tools to consistentlykaf24@firebug.cl.cam.ac.uk2005-10-123-11/+11
| | | | | | | | use stdint-format bitsize types (uint32_t and friends). Signed-off-by: Keir Fraser <keir@xensource.com>
* 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>