aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu/hw
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix Xen public interfaces and the tools to consistentlykaf24@firebug.cl.cam.ac.uk2005-10-121-2/+2
| | | | | | | | use stdint-format bitsize types (uint32_t and friends). Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix tools to pull public header files from standardkaf24@firebug.cl.cam.ac.uk2005-10-043-7/+7
| | | | | | | | | | 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>
* Add VGA acceleration support for cirrus logic device modelkaf24@firebug.cl.cam.ac.uk2005-09-233-10/+26
| | | | | | | | 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>
* 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>
* 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>
* 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-253-3/+3
|\
| * Rename libxc => libxenctrl and xc.h => xen/xenctrl.hcl349@firebug.cl.cam.ac.uk2005-08-243-3/+3
| | | | | | | | | | | | | | | | | | 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>
* | Implement cpu_physical_memory_reset_dirty()adsharma@los-vmm.sc.intel.com2005-08-221-2/+1
| | | | | | | | | | | | | | 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-163-1/+1792
| | | | | | | | | | | | | | | | | | | | 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>
* | Revert e5ea9df58340e4ff0351683270bfa4da25191d31adsharma@los-vmm.sc.intel.com2005-08-091-2/+2
| | | | | | | | | | | | The real issue is somewhere else.
* | 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>
* 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>
* bitkeeper revision 1.1780 (42c3a8c4tqEOpGy663gWO35k5QwZTw)arun.sharma@intel.com[kaf24]2005-06-305-1/+879
| | | | | | | | | | | | | | | | | | | [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.1773 (42c3a841nLib9kdSmthr05jouqiNeg)arun.sharma@intel.com[kaf24]2005-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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.1722 (42b7bcc4JmG_ITQ35E28L1mWc_g_ZQ)leendert@watson.ibm.com[iap10]2005-06-211-1/+1
| | | | | | | | | | | | | [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.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.1579 (429831c4g3vltIzzOokMmu5rtSZAcQ)leendert@watson.ibm.com[kaf24]2005-05-282-6/+3
| | | | | | | | | | [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.1543 (42943085tTGU_YurrAPsDOCEjAU21g)arun.sharma@intel.com[kaf24]2005-05-252-0/+48
| | | | | | | | | [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.1523 (4292e3afzZhOD910qby84MZZyEFPZQ)arun.sharma@intel.com[kaf24]2005-05-241-1/+1
| | | | | | | | | | | | [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.1476 (428d0d8esmCTqdrDnpEQ1XlfV6CWGg)kaf24@firebug.cl.cam.ac.uk2005-05-1938-0/+25374
New qemu-based ioemu for fully virtualised guests. Signed-off-by: Arun Sharma <arun.sharma@intel.com> Signed-off-by: Keir Fraser <keir@xensource.com>