[Qemu-devel] [v2][PATCH 0/5] xen: introduce new machine for IGD passthrough

2014-07-31 Thread Tiejun Chen
v2:

* Fix some coding style
* New patch to separate i440fx_init
* Just add prefix with XEN_IGD_PASSTHROUGH/xen_igd_passthrough
* Based on patch #2 to regenerate
* Unify prefix with XEN_IGD_PASSTHROUGH/xen_igd_passthrough like patch #3
* Test: boot with a preinstalled ubuntu 14.04
  ./i386-softmmu/qemu-system-i386 -hda test.img -m 2560 -boot c -machine pc

As we discussed we need to create a separate machine to support current
IGD passthrough.


Tiejun Chen (5):
  hw:i386:pc_piix: split pc_init1()
  hw:pci-host:piix: split i440fx_init
  xen:hw:pci-host:piix: create host bridge to passthrough
  xen:hw:pci-host:piix: introduce xen_igd_passthrough_i440fx_init
  xen:hw:i386:pc_piix: introduce new machine for IGD passthrough

 hw/i386/pc_piix.c| 222 
+---
 hw/pci-host/piix.c   | 165 
+++-
 include/hw/i386/pc.h |  11 +
 3 files changed, 358 insertions(+), 40 deletions(-)

Thanks
Tiejun



Re: [Qemu-devel] [v2][PATCH 0/5] xen: introduce new machine for IGD passthrough

2014-07-31 Thread Michael S. Tsirkin
On Thu, Jul 31, 2014 at 02:31:34PM +0800, Tiejun Chen wrote:
 v2:
 
 * Fix some coding style
 * New patch to separate i440fx_init
 * Just add prefix with XEN_IGD_PASSTHROUGH/xen_igd_passthrough
 * Based on patch #2 to regenerate
 * Unify prefix with XEN_IGD_PASSTHROUGH/xen_igd_passthrough like patch #3
 * Test: boot with a preinstalled ubuntu 14.04
   ./i386-softmmu/qemu-system-i386 -hda test.img -m 2560 -boot c -machine pc

You need to test with windows guests as well, linux often can boot
on bad hardware.

 As we discussed we need to create a separate machine to support current
 IGD passthrough.
 
 
 Tiejun Chen (5):
   hw:i386:pc_piix: split pc_init1()
   hw:pci-host:piix: split i440fx_init
   xen:hw:pci-host:piix: create host bridge to passthrough
   xen:hw:pci-host:piix: introduce xen_igd_passthrough_i440fx_init
   xen:hw:i386:pc_piix: introduce new machine for IGD passthrough
 
  hw/i386/pc_piix.c| 222 
 +---
  hw/pci-host/piix.c   | 165 
 +++-
  include/hw/i386/pc.h |  11 +
  3 files changed, 358 insertions(+), 40 deletions(-)
 
 Thanks
 Tiejun