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

RE: [Xen-devel] [PATCH] ioemu: Fix getting the configuration of PCI pass-through from xenstore



Acked-by: Dexuan Cui <dexuan.cui@xxxxxxxxx> 

BTW, looks the patch is still not in the latest qemu-xen-unstable.git tree.

-- Dexuan

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Yuji Shimada
Sent: 2009年3月17日 16:48
To: xen-devel@xxxxxxxxxxxxxxxxxxx; Ian Jackson
Subject: [Xen-devel] [PATCH] ioemu: Fix getting the configuration of PCI 
pass-through from xenstore

This patch fixes getting the configuration of PCI pass-through from xenstore.

Thanks,
--
Yuji Shimada


Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>

diff --git a/vl.c b/vl.c
index 9b9f7d5..c0d1df4 100644
--- a/vl.c
+++ b/vl.c
@@ -5783,6 +5783,9 @@ int main(int argc, char **argv, char **envp)
         }
     }
 
+    if (strlen(direct_pci_str) > 0)
+        direct_pci = direct_pci_str;
+
     machine->init(ram_size, vga_ram_size, boot_devices,
                   kernel_filename, kernel_cmdline, initrd_filename, cpu_model,
                  direct_pci);
@@ -5901,9 +5904,6 @@ int main(int argc, char **argv, char **envp)
         }
     }
 
-    if (strlen(direct_pci_str) > 0)
-        direct_pci = direct_pci_str;
-
     for(i = 0; i < MAX_VIRTIO_CONSOLES; i++) {
         const char *devname = virtio_consoles[i];
         if (virtcon_hds[i] && devname) {


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.