All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ioemu-remote: use xenstore direct_pci
@ 2008-07-16 16:54 Jean Guyader
  0 siblings, 0 replies; only message in thread
From: Jean Guyader @ 2008-07-16 16:54 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

ioemu-remote: Use xenstore's direct_pci instead of the one from the 
command line if there is some pass-through devices.

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>

-- 
Jean Guyader

[-- Attachment #2: ioemu-remote_xenstores_direct_pci.patch --]
[-- Type: text/plain, Size: 387 bytes --]

diff --git a/vl.c b/vl.c
index 442faf8..b619343 100644
--- a/vl.c
+++ b/vl.c
@@ -8804,6 +8816,9 @@ int main(int argc, char **argv)
         }
     }
 
+    if (strlen(direct_pci_str) > 0)
+        direct_pci = direct_pci_str;
+
     machine->init(ram_size, vga_ram_size, boot_devices, ds,
                   kernel_filename, kernel_cmdline, initrd_filename, cpu_model,
 		  direct_pci);

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-16 16:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 16:54 [PATCH] ioemu-remote: use xenstore direct_pci Jean Guyader

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.