* [PATCH] qemu-kvm: Fix warning with DEVICE_ASSIGNMENT disabled
@ 2009-07-04 9:00 Jan Kiszka
2009-07-06 7:41 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2009-07-04 9:00 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
hw/pci-hotplug.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c
index 66fa377..1180758 100644
--- a/hw/pci-hotplug.c
+++ b/hw/pci-hotplug.c
@@ -256,7 +256,9 @@ void pci_device_hot_remove_success(int pcibus, int slot)
{
PCIDevice *d = pci_find_device(pcibus, slot, 0);
int class_code;
+#ifdef USE_KVM_DEVICE_ASSIGNMENT
AssignedDevInfo *adev;
+#endif
if (!d) {
monitor_printf(cur_mon, "invalid slot %d\n", slot);
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] qemu-kvm: Fix warning with DEVICE_ASSIGNMENT disabled
2009-07-04 9:00 [PATCH] qemu-kvm: Fix warning with DEVICE_ASSIGNMENT disabled Jan Kiszka
@ 2009-07-06 7:41 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-07-06 7:41 UTC (permalink / raw)
To: Jan Kiszka; +Cc: kvm-devel
On 07/04/2009 12:00 PM, Jan Kiszka wrote:
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-06 7:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-04 9:00 [PATCH] qemu-kvm: Fix warning with DEVICE_ASSIGNMENT disabled Jan Kiszka
2009-07-06 7:41 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).