Re: [Qemu-devel] [PATCH v1 1/1] S390 pci infrastructure modeling

2015-05-21 Thread Hong Bo Li
On 5/20/2015 15:47, Paolo Bonzini wrote: On 12/05/2015 11:07, Cornelia Huck wrote: This patch contains the actual interesting changes. usage example: -device s390-pcihost -device vfio-pci,host=:00:00.0,id=vpci1 -device zpci,fid=2,uid=5,pci_id=vpci1,id=zpci1 One possible alternative could b

Re: [Qemu-devel] [PATCH v1 1/1] S390 pci infrastructure modeling

2015-05-20 Thread Paolo Bonzini
On 12/05/2015 11:07, Cornelia Huck wrote: >>> This patch contains the actual interesting changes. >>> usage example: >>> -device s390-pcihost >>> -device vfio-pci,host=:00:00.0,id=vpci1 >>> -device zpci,fid=2,uid=5,pci_id=vpci1,id=zpci1 One possible alternative could be making each zpci device

Re: [Qemu-devel] [PATCH v1 1/1] S390 pci infrastructure modeling

2015-05-20 Thread Paolo Bonzini
On 15/04/2015 10:04, Hong Bo Li wrote: > @@ -513,29 +541,12 @@ static int s390_pcihost_setup_msix(S390PCIBusDevice > *pbdev) > return 0; > } > > +/* this function is useless, just keep it to make the patch more > + readable. Without this function, the diff will mix these hotplug > +

Re: [Qemu-devel] [PATCH v1 1/1] S390 pci infrastructure modeling

2015-05-19 Thread Hong Bo Li
On 5/12/2015 17:07, Cornelia Huck wrote: On Tue, 21 Apr 2015 13:29:01 +0800 Hong Bo Li wrote: Sorry, I sent the patch three times by accident. Please take this one as the formal patch. This is a followup to the discussion started by Frank Blaschka: Option 1: s390x/pci: Extend pci represen

Re: [Qemu-devel] [PATCH v1 1/1] S390 pci infrastructure modeling

2015-05-12 Thread Cornelia Huck
On Tue, 21 Apr 2015 13:29:01 +0800 Hong Bo Li wrote: > Sorry, I sent the patch three times by accident. Please take this one > as the formal patch. > > This is a followup to the discussion started by Frank Blaschka: > > Option 1: s390x/pci: Extend pci representation by new zpci device > Option

Re: [Qemu-devel] [PATCH v1 1/1] S390 pci infrastructure modeling

2015-04-20 Thread Hong Bo Li
Sorry, I sent the patch three times by accident. Please take this one as the formal patch. This is a followup to the discussion started by Frank Blaschka: Option 1: s390x/pci: Extend pci representation by new zpci device Option 2: s390x/pci: rework pci infrastructure modeling This patch provid

[Qemu-devel] [PATCH v1 1/1] S390 pci infrastructure modeling

2015-04-15 Thread Hong Bo Li
This patch contains the actual interesting changes. usage example: -device s390-pcihost -device vfio-pci,host=:00:00.0,id=vpci1 -device zpci,fid=2,uid=5,pci_id=vpci1,id=zpci1 The first line will create a s390 pci host bridge and init the root bus. The second line will create a standard vfio p

[Qemu-devel] [PATCH v1 1/1] S390 pci infrastructure modeling

2015-04-15 Thread Hong Bo Li
This patch contains the actual interesting changes. usage example: -device s390-pcihost -device vfio-pci,host=:00:00.0,id=vpci1 -device zpci,fid=2,uid=5,pci_id=vpci1,id=zpci1 The first line will create a s390 pci host bridge and init the root bus. The second line will create a standard vfio pc

[Qemu-devel] [PATCH v1 1/1] s390 pci infrastructure modeling

2015-04-14 Thread Hong Bo Li
This patch contains the actual interesting changes. usage example: -device s390-pcihost -device vfio-pci,host=:00:00.0,id=vpci1 -device zpci,fid=2,uid=5,pci_id=vpci1,id=zpci1 The first line will create a s390 pci host bridge and init the root bus. The second line will create a standard vfio pc