[Pkg-libvirt-commits] [libguestfs] 40/156: launch: libvirt: Only use serial BIOS (sgabios) on x86.

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 30 08:25:49 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit 9431f746a030031376ad5643de93929fedc517e5
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Jun 10 19:31:06 2014 +0100

    launch: libvirt: Only use serial BIOS (sgabios) on x86.
    
    This device is not present at least on ARM.  Unfortunately libvirt
    doesn't give us any way to query when the device is present.
    
    This fixes commit bed592498d791c5ce6ad722f41dcbfbe243b0a7a.
    
    (cherry picked from commit 7faa602e8f86702418e11572603badbfbb14f6b7)
---
 src/launch-libvirt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index 3324926..cde686f 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -1087,9 +1087,11 @@ construct_libvirt_xml_boot (guestfs_h *g,
       string (cmdline);
     } end_element ();
 
+#if defined(__i386__) || defined(__x86_64__)
     start_element ("bios") {
       attribute ("useserial", "yes");
     } end_element ();
+#endif
 
   } end_element ();
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list