-
Notifications
You must be signed in to change notification settings - Fork 39
QEMU Upstream
This page contains updates for QEMU upstream (1.4) in OpenXT.
Here are the patches for QEMU 1.4. The aim is to port the patches from IOEMU (the old version of QEMU used in XEN) to a newer version of QEMU (easier to maintain and more reliable).
Even if there are already good progress, there is still one very missing patch : surfman.
- Inter-hda emulation
- 64 bits support for PCI Bar (some patches was submitted in QEMU/Xen mailing)
- MemoryRegion API: offer a usefull way to manage MMIO and PCI Bar
-
PCI-PASSTHROUGH:
- don't need a patch to enable it. There is now an option
- use a -device xen-pci-pt,hostaddr=xxxx:yy:zz.f to provide a device
This section might be obsolete
- in .config file use BRANCH="qemu-1.4" instead of master.
- xenclient-oe (branch qemu-dm)
- dm-agent (branch qemu-dm (use option -q))
- src/dm-agent
- scripts/qemu-wrapper
QEMU with --enable-xen doesn't allow static compilation. We use static compilation for the stubdomain.
Enable QEMU to log in syslog.
Add wrapper for dmbus connection. It will be use for input event.
This patch was used to setup the XenGFX mode. Which is no longer used in XT.
-
TODO:
- Erase this patch
- implements some hooks to send the surface to surfman
Handle input keyboard and mouse.
- Support of ACPI state;
- Enable ACPI by default otherwise Windows will BSOD (In recent Xen's versions this part is made in hvmloader. See comment below)
- Send state to the Input Server
apm_ctrl_changed(ACPI_ENABLE, s);
Warning:
- Hibernation: Win7 doesn't leave the hibernation state properly. The RTL8139 driver for Window7 is no longer supported and let the guest in a bad status. Use e1000 netwotk device instead of rtl8139 to avoid any issue (see VM configuration).
Propagate network link status to the guest. This patch:
- add a support to be notify when network is up/down via XenStore;
- modify rt8189 card (use by default in XT) to handle link state.
Re-write the old patch from Kamala Narasimhan:
- use memory_region to add new IOPORT
- depends of hvmloader/acpi/ssdt.asl
- It doesn't implement the GPE yet.
- The patch implements the multiple batteries management, it doesn't allow to hotplug a battery
- enable volume controle
- Mouse emulation via a PCI device.
This is a huge patch. ATAPI Pass through patch
Command line
-drive file=/dev/bsg/1:0:0:0,media=cdrom,if=atapi-pt,format=pt