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

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 30 08:24:58 UTC 2014


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

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 7faa602e8f86702418e11572603badbfbb14f6b7
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.
---
 src/launch-libvirt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index 9d42914..6ce4361 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -1099,9 +1099,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