Blame SOURCES/0035-launch-libvirt-Set-attribute-present-yes-to-enable-k.patch
|
|
022f11 |
From 1ab268dfd95cc2630862c2b3eb98937fa36f3214 Mon Sep 17 00:00:00 2001
|
|
|
022f11 |
From: Cole Robinson <crobinso@redhat.com>
|
|
|
022f11 |
Date: Thu, 3 Oct 2013 15:06:03 +0100
|
|
|
022f11 |
Subject: [PATCH] launch: libvirt: Set attribute present=yes to enable
|
|
|
022f11 |
kvmclock.
|
|
|
022f11 |
|
|
|
022f11 |
(cherry picked from commit 216cb004aef8ad6cb554ecdb9d7c4eb7634fe678)
|
|
|
022f11 |
---
|
|
|
022f11 |
src/launch-libvirt.c | 3 +++
|
|
|
022f11 |
1 file changed, 3 insertions(+)
|
|
|
022f11 |
|
|
|
022f11 |
diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
|
|
|
022f11 |
index b73f86c..8f56985 100644
|
|
|
022f11 |
--- a/src/launch-libvirt.c
|
|
|
022f11 |
+++ b/src/launch-libvirt.c
|
|
|
022f11 |
@@ -850,6 +850,9 @@ construct_libvirt_xml_cpu (guestfs_h *g,
|
|
|
022f11 |
XMLERROR (-1,
|
|
|
022f11 |
xmlTextWriterWriteAttribute (xo, BAD_CAST "name",
|
|
|
022f11 |
BAD_CAST "kvmclock"));
|
|
|
022f11 |
+ XMLERROR (-1,
|
|
|
022f11 |
+ xmlTextWriterWriteAttribute (xo, BAD_CAST "present",
|
|
|
022f11 |
+ BAD_CAST "yes"));
|
|
|
022f11 |
XMLERROR (-1, xmlTextWriterEndElement (xo));
|
|
|
022f11 |
XMLERROR (-1, xmlTextWriterEndElement (xo));
|
|
|
022f11 |
|
|
|
022f11 |
--
|
|
|
022f11 |
1.8.3.1
|
|
|
022f11 |
|