public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvm: libkvm: Fix compile warning for kvm_disable_pit_creation
@ 2008-03-14  9:18 Yang, Sheng
  0 siblings, 0 replies; only message in thread
From: Yang, Sheng @ 2008-03-14  9:18 UTC (permalink / raw)
  To: kvm-devel

[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]

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


Signed-off-by: Sheng Yang <sheng.yang@intel.com>
---
 libkvm/libkvm.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
index 4b40d2c..e7dc148 100644
--- a/libkvm/libkvm.h
+++ b/libkvm/libkvm.h
@@ -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


[-- Attachment #2: 0001-kvm-libkvm-Fix-compile-warning-for-kvm_disable_pit.patch --]
[-- Type: text/x-diff, Size: 1077 bytes --]

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


Signed-off-by: Sheng Yang <sheng.yang@intel.com>
---
 libkvm/libkvm.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
index 4b40d2c..e7dc148 100644
--- a/libkvm/libkvm.h
+++ b/libkvm/libkvm.h
@@ -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


[-- Attachment #3: Type: text/plain, Size: 228 bytes --]

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

[-- Attachment #4: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-14  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14  9:18 [PATCH] kvm: libkvm: Fix compile warning for kvm_disable_pit_creation Yang, Sheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox