[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] xenstore: Use <xenstore.h>

From: Anthony PERARD
Subject: Re: [Qemu-devel] [PATCH 2/2] xenstore: Use <xenstore.h>
Date: Fri, 15 Jun 2012 13:24:45 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

On 15/06/12 12:53, Juan Quintela wrote:
Anthony PERARD<address@hidden>  wrote:
In the next release of Xen (4.2), xs.h became deprecated.

Signed-off-by: Anthony PERARD<address@hidden>
  configure       |    2 +-
  hw/xen_common.h |    6 +++++-
  2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index c2366ee..e7f66c9 100755
--- a/configure
+++ b/configure
@@ -1382,7 +1382,7 @@ EOF
    elif (
        cat>  $TMPC<<EOF
  #if !defined(HVM_MAX_VCPUS)
diff --git a/hw/xen_common.h b/hw/xen_common.h
index fe7f227..cc99204 100644
--- a/hw/xen_common.h
+++ b/hw/xen_common.h
@@ -7,7 +7,11 @@

+#  include<xs.h>
+#  include<xenstore.h>

  #include "hw.h"

Shouldn't we need the ifdef also in configure?  On my system xenstore.h
still don't exist.

No, configure does not need it. In the configure, I just change the header in the test for the next version of Xen. Also the define is defined by configure.


Anthony PERARD

reply via email to

[Prev in Thread] Current Thread [Next in Thread]