From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcIs4-000453-4L for qemu-devel@nongnu.org; Thu, 30 Jun 2011 11:09:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcIs2-00005D-66 for qemu-devel@nongnu.org; Thu, 30 Jun 2011 11:09:35 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53490 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcIs1-000053-JR for qemu-devel@nongnu.org; Thu, 30 Jun 2011 11:09:33 -0400 Message-ID: <4E0C91AC.2010802@suse.de> Date: Thu, 30 Jun 2011 17:09:32 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1308927289-10474-1-git-send-email-stefano.stabellini@eu.citrix.com> In-Reply-To: <1308927289-10474-1-git-send-email-stefano.stabellini@eu.citrix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2] xen: enable console and disk backend in HVM mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stefano.stabellini@eu.citrix.com Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org On 06/24/2011 04:54 PM, stefano.stabellini@eu.citrix.com wrote: > From: Stefano Stabellini > > Initialize the Xen console backend and the Xen disk backend even when > running in HVM mode so that PV on HVM drivers can connect to them. Thanks, applied to xen-next branch. Alex > Signed-off-by: Stefano Stabellini > --- > xen-all.c | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/xen-all.c b/xen-all.c > index b0b2f10..93fa2ee 100644 > --- a/xen-all.c > +++ b/xen-all.c > @@ -862,6 +862,14 @@ int xen_hvm_init(void) > cpu_register_phys_memory_client(&state->client); > state->log_for_dirtybit = NULL; > > + /* Initialize backend core& drivers */ > + if (xen_be_init() != 0) { > + fprintf(stderr, "%s: xen backend core setup failed\n", __FUNCTION__); > + exit(1); > + } > + xen_be_register("console",&xen_console_ops); > + xen_be_register("qdisk",&xen_blkdev_ops); > + > return 0; > } > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH 1/2] xen: enable console and disk backend in HVM mode Date: Thu, 30 Jun 2011 17:09:32 +0200 Message-ID: <4E0C91AC.2010802@suse.de> References: <1308927289-10474-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1308927289-10474-1-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: stefano.stabellini@eu.citrix.com Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org On 06/24/2011 04:54 PM, stefano.stabellini@eu.citrix.com wrote: > From: Stefano Stabellini > > Initialize the Xen console backend and the Xen disk backend even when > running in HVM mode so that PV on HVM drivers can connect to them. Thanks, applied to xen-next branch. Alex > Signed-off-by: Stefano Stabellini > --- > xen-all.c | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/xen-all.c b/xen-all.c > index b0b2f10..93fa2ee 100644 > --- a/xen-all.c > +++ b/xen-all.c > @@ -862,6 +862,14 @@ int xen_hvm_init(void) > cpu_register_phys_memory_client(&state->client); > state->log_for_dirtybit = NULL; > > + /* Initialize backend core& drivers */ > + if (xen_be_init() != 0) { > + fprintf(stderr, "%s: xen backend core setup failed\n", __FUNCTION__); > + exit(1); > + } > + xen_be_register("console",&xen_console_ops); > + xen_be_register("qdisk",&xen_blkdev_ops); > + > return 0; > } >