WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] ioemu: Fix getting the configuration of PCI pass-through from xenstore
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Tue, 24 Mar 2009 13:33:42 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc:
Delivery-date: Mon, 23 Mar 2009 22:35:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090317174537.7154.27C06F64@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20090317174537.7154.27C06F64@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acmm3Sx+ddi4ncjjTKOX5h8vNn9vDAFZJtkw
Thread-topic: [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