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-changelog

[Xen-changelog] [qemu-xen-unstable] pxe: Don't look for PXE ROMs when ru

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [qemu-xen-unstable] pxe: Don't look for PXE ROMs when running as a DM
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Fri, 18 Sep 2009 09:05:14 -0700
Delivery-date: Fri, 18 Sep 2009 09:05:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
commit e084d4f0f1202f82db360c03c068433144d308b8
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Fri Sep 18 16:32:58 2009 +0100

    pxe: Don't look for PXE ROMs when running as a DM
    
    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@xxxxxxxxxxxx>
---
 vl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/vl.c b/vl.c
index 06d9662..4a331f8 100644
--- a/vl.c
+++ b/vl.c
@@ -5627,6 +5627,7 @@ int main(int argc, char **argv, char **envp)
     }
     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 **envp)
        }
     }
 #endif
+#endif
 
     /* init the bluetooth world */
     for (i = 0; i < nb_bt_opts; i++)
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [qemu-xen-unstable] pxe: Don't look for PXE ROMs when running as a DM, Ian Jackson <=