在 2013-02-05二的 17:53 +0100,Ján Tomko写道:
> On 01/30/13 03:30, liguang wrote:
> > @@ -974,8 +967,24 @@ static char
> > *qemuPCIAddressAsString(virDomainDeviceInfoPtr dev)
> > return addr;
> > }
> >
> > +static int qemuPciBridgeSupport(virDomainDefPtr def)
> > +{
> > +int i, c = 0;
> > +
On 01/30/13 03:30, liguang wrote:
> @@ -974,8 +967,24 @@ static char
> *qemuPCIAddressAsString(virDomainDeviceInfoPtr dev)
> return addr;
> }
>
> +static int qemuPciBridgeSupport(virDomainDefPtr def)
> +{
> +int i, c = 0;
> +
> +for (i = 0; i < def->ncontrollers; i++) {
> +
format command line of qemu to add pci-bridge
like this: -device pci-bridge.
and also add a qemu capability to check if
qemu support pci-bridge device
Signed-off-by: liguang
---
src/qemu/qemu_capabilities.c |6 ++-
src/qemu/qemu_capabilities.h |1 +
src/qemu/qemu_command.c | 70 ++