All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] qemu-xen: pxe: Don't look for PXE ROMs when running as a DM
@ 2009-09-18  5:20 Simon Horman
  0 siblings, 0 replies; only message in thread
From: Simon Horman @ 2009-09-18  5:20 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson

Searching for PXE ROMs in attached NICs is unnecessary as the ROM
that is used is included in the hvmloader binary. In the case where
there are only pass-through NICs it will cause the boot to fail
as the NICs are not known to qemu-xen at the time that this check is made.
In other words, without this change PXE boot from a pass-through
device will fail.

This has likely been broken since I changed around the pass-through
code so that devices passed-through at boot-time are handled by hot-plug.

Signed-off-by: Simon Horman <horms@verge.net.au>

Index: ioemu-remote/vl.c
===================================================================
--- ioemu-remote.orig/vl.c	2009-09-18 12:15:39.000000000 +1000
+++ ioemu-remote/vl.c	2009-09-18 12:18:14.000000000 +1000
@@ -5627,6 +5627,7 @@ int main(int argc, char **argv, char **e
     }
     net_client_check();
 
+#ifndef CONFIG_DM
 #ifdef TARGET_I386
     /* XXX: this should be moved in the PC machine instantiation code */
     if (net_boot != 0) {
@@ -5655,6 +5656,7 @@ int main(int argc, char **argv, char **e
 	}
     }
 #endif
+#endif
 
     /* init the bluetooth world */
     for (i = 0; i < nb_bt_opts; i++)

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

only message in thread, other threads:[~2009-09-18  5:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-18  5:20 [patch] qemu-xen: pxe: Don't look for PXE ROMs when running as a DM Simon Horman

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.