diff options
author | Sander Eikelenboom <linux@eikelenboom.it> | 2012-12-17 11:37:43 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2012-12-17 11:37:43 +0000 |
commit | f1b8caf1d927f30f66054733a783651a24db4999 (patch) | |
tree | e788e865df8b8485aecf96a41c84b72a90d9cad5 /hw/xen_pt.c | |
parent | 044b99c6555f562254ae70dc39f32190eecbc1f2 (diff) | |
download | qemu-f1b8caf1d927f30f66054733a783651a24db4999.zip qemu-f1b8caf1d927f30f66054733a783651a24db4999.tar.gz qemu-f1b8caf1d927f30f66054733a783651a24db4999.tar.bz2 |
Fix compile errors when enabling Xen debug logging.
Signed-off-by: Sander Eikelenboom <linux@eikelenboom.it>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'hw/xen_pt.c')
-rw-r--r-- | hw/xen_pt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/xen_pt.c b/hw/xen_pt.c index 7a3846e..7aae826 100644 --- a/hw/xen_pt.c +++ b/hw/xen_pt.c @@ -671,7 +671,8 @@ static int xen_pt_initfn(PCIDevice *d) s->is_virtfn = s->real_device.is_virtfn; if (s->is_virtfn) { XEN_PT_LOG(d, "%04x:%02x:%02x.%d is a SR-IOV Virtual Function\n", - s->real_device.domain, bus, slot, func); + s->real_device.domain, s->real_device.bus, + s->real_device.dev, s->real_device.func); } /* Initialize virtualized PCI configuration (Extended 256 Bytes) */ @@ -752,7 +753,7 @@ out: memory_listener_register(&s->memory_listener, &address_space_memory); memory_listener_register(&s->io_listener, &address_space_io); XEN_PT_LOG(d, "Real physical device %02x:%02x.%d registered successfuly!\n", - bus, slot, func); + s->hostaddr.bus, s->hostaddr.slot, s->hostaddr.function); return 0; } |