qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] fix pci net hot-remove


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] fix pci net hot-remove
Date: Thu, 26 Feb 2009 10:40:22 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Marcelo Tosatti wrote:
Missing brackets, doh.

Applied.  Thanks.

Regards,

Anthony Liguori

Signed-off-by: Marcelo Tosatti <address@hidden>

Index: hw/device-hotplug.c
===================================================================
--- hw/device-hotplug.c (revision 6618)
+++ hw/device-hotplug.c (working copy)
@@ -51,7 +51,7 @@
     int i;
     NICInfo *nic;
- for (i = 0; i < MAX_NICS; i++)
+    for (i = 0; i < MAX_NICS; i++) {
         nic = &nd_table[i];
         if (nic->used) {
             if (nic->private && match_fn(nic->private, arg)) {
@@ -64,6 +64,7 @@
                 net_client_uninit(nic);
             }
         }
+    }
 }
void destroy_bdrvs(dev_match_fn *match_fn, void *arg)








reply via email to

[Prev in Thread] Current Thread [Next in Thread]