aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu
Commit message (Collapse)AuthorAgeFilesLines
...
* [QEMU] Helper functions to interface with the xenstore and read device ↵kaf24@localhost.localdomain2006-10-272-0/+156
| | | | | | | | | | | | | information from it. - detect what types of devices a domain has or whether a domain has a device of a certain type - read the content of a variable related to a device, i.e., hotplug-status - subscribe to changes of the hotplug status of a device for not having to poll the status Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* [QEMU] ne2000: Stop memory access beyond bufferkaf24@localhost.localdomain2006-10-271-2/+33
| | | | | | | | | | | | | | | | | | As a program that runs in dom0 which serves users from guests, the qemu drivers need to be vigilant to the input that comes from the guests since they may be malicious. As it is there are multiple ways to get ne2000 to read/write memory beyond the 48K buffer that it has allocated for each adapter. This patch checks the addresses and prevents this from occuring. The boundary is checked each time since it's changed for every packet received while the other parameters are only changed (by the guest) during setup. Signed-off: Herbert Xu <herbert@gondor.apana.org.au>
* [HVM] Fix qemu's test for whether physcal addresses are RAM.Tim Deegan2006-10-261-20/+30
| | | | | | HVM guests have a memory hole below 4GB, so can't just check whether addresses are < the amount of RAM allocated. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* [IA64][HVM][QEMU] Add buffer IO mechanism for IA64/VTi domain.kfraser@localhost.localdomain2006-10-251-2/+8
| | | | Signed-off-by:Zhang xiantao <xiantao.zhang@intel.com>
* [HVM] Avoid buffer overrun in qemu-dmTim Deegan2006-10-251-0/+2
| | | | | | The array offset in set_bits_in_row here comes from an otherwise un-checked VNC client request. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* [qemu patches] Update patches upto changeset 11870:29b02d929b7e.Christian Limpach2006-10-2424-181/+1545
| | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [HVM] Implement password authentication of VNC connections.kfraser@localhost.localdomain2006-10-207-4/+658
| | | | | | | | | | | | | The specification is as mentioned at http://lists.xensource.com/archives/html/xen-devel/2006-09/msg00666.html (However, password came to describe plain text) The difference is follows. - protocol_authtype() without the necessity was deleted. - The check on the protocol version was added. - And, some small modification. Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com>
* [HVM] Windows HCT requires non-zero subvendor details in platform PCI device.kfraser@localhost.localdomain2006-10-191-1/+7
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* Replace test-gcc-flag with Linux-style cc-option.kfraser@localhost.localdomain2006-10-181-1/+1
| | | | | | | Improve on Linux implementation by looking for any output on stdout/stderr. This indicates badness. Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM] Enable DMA mode for CD-ROM IDE ATAPI interface.kfraser@localhost.localdomain2006-10-181-2/+2
| | | | Signed-off-by: Winston Wang <winston.l.wang@intel.com
* [HVM] Move RTC emulation into the hypervisor.kfraser@localhost.localdomain2006-10-182-0/+115
| | | | Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
* [SOLARIS] A couple of simple compile fixes for tools/ on Solaris.kfraser@localhost.localdomain2006-10-171-3/+3
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Clean up duplication of 'install' macros in the Makefiles.kfraser@localhost.localdomain2006-10-171-3/+3
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* [IOEMU] Fix argument to parse_host().kaf24@localhost.localdomain2006-10-131-1/+1
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM/vncserver] Implement a 'vnclisten' option to limit the interfaceChristian Limpach2006-10-053-17/+32
| | | | | | | | | | | | | | | | | | that the VNC server from qemu listens on. Defaults to only listen on 127.0.0.1 The old behaviour (listen on all interfaces) can be restored, by - changing the system-wide default in /etc/xen/xend-config.sxp by adding: (vnc-listen '0.0.0.0') - changing individual domain config files by adding: vnclisten="0.0.0.0" Also allows specifying the hostname associated with an interface to limit to that interface. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* [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] qemu should wait 10ms, rather than 100ms, between running its timers.Steven Smith2006-09-271-2/+2
| | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [HVM][VNC] Fix typo.Steven Smith2006-09-261-1/+1
| | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [HVM][VNC] Work around a bug in the newest version of xvncviewer whichSteven Smith2006-09-261-4/+8
| | | | | | could lead to the display locking up after it's been idle for a while. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [HVM][VNC] Make sure that qemu doesn't go into an infinite loop whenSteven Smith2006-09-261-5/+16
| | | | | | it receives certain invalid requests from the viewer. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [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] Rate limit guest accesses to the qemu virtual serial port. This stopsSteven Smith2006-09-251-0/+68
| | | | | | grub's boot menu from hammering dom0. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [QEMU] A better build fix for qemu-dm.kfraser@localhost.localdomain2006-09-231-0/+3
| | | | | This extends 11592:5c58df8c78851d47bf7130308895c4e0ac5fa5ad Signed-off-by: Keir Fraser <keir@xensource.com>
* [QEMU] Fix build on some distros (e.g., FC6T3).kfraser@localhost.localdomain2006-09-231-1/+0
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM][VNC] Make sure that the vnc viewer gets the right resolution when itSteven Smith2006-09-221-0/+2
| | | | | | connects. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [HVM][VNC] Fix bug in the VNC copyrect implementation which crept inSteven Smith2006-09-221-0/+3
| | | | | | with the update backoff patch. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [qemu patches] Refresh.Christian Limpach2006-09-2110-92/+92
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu patches] Update patches for changeset 11562:449dcaff2551.Christian Limpach2006-09-213-8/+390
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu patches] Update patches for changeset 11561:c742b2ae920c.Christian Limpach2006-09-218-73/+140
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu patches] Update patches for changeset 11554:39aaa54756db.Christian Limpach2006-09-211-18/+18
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [HVM][VNC] Add a backoff feature to the vnc server, so that if it detectsSteven Smith2006-09-213-100/+155
| | | | | | that the display hasn't changed for a while it starts scanning more slowly. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [HVM] Reduce VNC overhead, by (a) only scanning framebuffer when a clientSteven Smith2006-09-212-13/+13
| | | | | | | is connected, and (b) fixing an overflow bug in the scanning code which prevented the dirty bit from ever getting cleared. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [tools] Increases some of the timeoutsChristian Limpach2006-09-211-2/+2
| | | | | | | | since e.g. stealing the hotplug lock after five seconds is completely insane. From: Steven Smith <sos22@cam.ac.uk> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu patches] Refresh qemu-pci patch without -p3.Christian Limpach2006-09-212-14/+17
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu patches] Update patches for changeset 11551:f872300b672f.Christian Limpach2006-09-211-10/+10
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [HVM] Use the right, PCI SIG assigned, vendor ID for xensource rather thanSteven Smith2006-09-211-3/+3
| | | | | | just making one up. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [qemu patches] Update patches for changeset 11273:a1cff03ac7d7.Christian Limpach2006-08-282-0/+55
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Fix PCI config header space writes and set Subsystem-Vendor ID fields.Christian Limpach2006-08-283-0/+17
| | | | | | | | | | Fix failure in Windows HCT's PCI-Compliance-Test by invalidating the writing to read-only/reserved fields in PCI configuration space header and giving Subsystem-Vendor-ID field a valid value via copying Vendor-ID field into it. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* [qemu patches] Update patches for changeset 11268:350a73222a51.Christian Limpach2006-08-281-6/+15
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Add target-i386-dm and hw *.[ch] files to TAGS.Christian Limpach2006-08-281-1/+1
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [XEND] Move all of the various log files created by xen tokaf24@localhost.localdomain2006-08-282-2/+2
| | | | | | | | 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 patches] Update patches for changeset 11209:9bb6c1c1890a.Christian Limpach2006-08-213-79/+58
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] hdparm tunable IDE write cache for HVMChristian Limpach2006-08-207-6/+23
| | | | | | | | | | | | | | qemu 0.8.2 has a flush callback to the storage backends, so now it is possible to implement hdparm tunable IDE write cache enable/disable for guest domains, allowing people to pick speed or data consistency on a case by case basis. As an added benefit, really large LBA48 IOs will now no longer be broken up into smaller IOs on the host side. From: Rik van Riel <riel@redhat.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu patches] Update patches for changeset 11206:fc3e7e65b953.Christian Limpach2006-08-201-2/+2
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu patches] Update patches for changeset 11206:fc3e7e65b953.Christian Limpach2006-08-202-0/+167
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Allow booting from more than one device.Christian Limpach2006-08-203-27/+38
| | | | | | | | | | 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 patches] Update patches for changeset 11186:078bfd250677.Christian Limpach2006-08-1727-212/+255
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Support HVM guests with more than 3.75G memory.Christian Limpach2006-08-173-21/+47
| | | | | | | | | | | | | | | | | | | 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 patches] Update patches for changeset 11161:5c1021595e3c.chris@kneesaa.uk.xensource.com2006-08-172-0/+187
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [qemu] Add the xen platform device to the qemu PCI bus.chris@kneesaa.uk.xensource.com2006-08-174-0/+145
| | | | | | | | Useful functionality will come later. Signed-off-by: Steven Smith <ssmith@xensource.com> Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>