Skip to contentSkip to conversation

kvm: libkvm: Fix compile warning for kvm_disable_pit_creation

PATCH New Yang, Sheng 1 participant 1 message Mar 14, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm: libkvm: Fix compile warning for kvm_disable_pit_creation

From 134d79f944f8742000fe65dd3fcfa850b9c876d1 Mon Sep 17 00:00:00 2001
From: Sheng Yang <[email protected]>
Date: Fri, 14 Mar 2008 17:15:07 +0800
Subject: [PATCH] kvm: libkvm: Fix compile warning for kvm_disable_pit_creation

---
 libkvm/libkvm.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
libkvm/libkvm.h +10 -0
index 4b40d2c..e7dc148 100644
@@ -107,6 +107,16 @@ void kvm_finalize(kvm_context_t kvm);
 void kvm_disable_irqchip_creation(kvm_context_t kvm);
 
 /*!
+ * \brief Disable the in-kernel PIT creation
+ *
+ * In-kernel pit is enabled by default. If userspace pit is to be used,
+ * this should be called prior to kvm_create().
+ *
+ * \param kvm Pointer to the kvm_context
+ */
+void kvm_disable_pit_creation(kvm_context_t kvm);
+
+/*!
  * \brief Create new virtual machine
  *
  * This creates a new virtual machine, maps physical RAM to it, and creates a

--
debian.1.5.3.7.1-dirty

From 134d79f944f8742000fe65dd3fcfa850b9c876d1 Mon Sep 17 00:00:00 2001
From: Sheng Yang <[email protected]>
Date: Fri, 14 Mar 2008 17:15:07 +0800
Subject: [PATCH] kvm: libkvm: Fix compile warning for kvm_disable_pit_creation

---
 libkvm/libkvm.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
libkvm/libkvm.h +10 -0
index 4b40d2c..e7dc148 100644
@@ -107,6 +107,16 @@ void kvm_finalize(kvm_context_t kvm);
 void kvm_disable_irqchip_creation(kvm_context_t kvm);
 
 /*!
+ * \brief Disable the in-kernel PIT creation
+ *
+ * In-kernel pit is enabled by default. If userspace pit is to be used,
+ * this should be called prior to kvm_create().
+ *
+ * \param kvm Pointer to the kvm_context
+ */
+void kvm_disable_pit_creation(kvm_context_t kvm);
+
+/*!
  * \brief Create new virtual machine
  *
  * This creates a new virtual machine, maps physical RAM to it, and creates a
Signature · 1 line
debian.1.5.3.7.1-dirty

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel