[Pkg-libvirt-commits] [libguestfs] 07/19: ppc64: Disable hpet fragment in libvirt XML.

Hilko Bengen bengen at moszumanska.debian.org
Wed Feb 26 08:45:15 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 479665e4fc31b94cd9372394bb9c97e8f87b6ab5
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Feb 18 15:12:13 2014 +0000

    ppc64: Disable hpet fragment in libvirt XML.
    
    Related change in commit 62cb3a606d4b349d45f2d178945a998a90d1e130.
---
 src/launch-libvirt.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index 9e59e36..1bfc069 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -1013,12 +1013,9 @@ construct_libvirt_xml_cpu (guestfs_h *g,
     } end_element ();
 
     /* libvirt has a bug (RHBZ#1066145) where it adds the -no-hpet
-     * flag on ARM even though this causes qemu-system-arm to break
-     * and ARM has never had a High Precision Timer anyway.  It's not
-     * worth arguing about who is right or wrong here, just disable
-     * this XML fragment on ARM.
+     * flag on ARM & ppc64.
      */
-#ifndef __arm__
+#if !defined(__arm__) && !defined(__powerpc__)
     start_element ("timer") {
       attribute ("name", "hpet");
       attribute ("present", "no");

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