This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: [PATCH v5] xen_console: support the new extended xenstor

To: Alexander Graf <agraf@xxxxxxx>
Subject: [Xen-devel] Re: [PATCH v5] xen_console: support the new extended xenstore protocol
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Mon, 4 Jul 2011 17:36:47 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "qemu-devel@xxxxxxxxxx" <qemu-devel@xxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 04 Jul 2011 09:32:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <F2576A8B-0A0C-4E74-8646-A407744BE1C5@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1309454789-27401-1-git-send-email-stefano.stabellini@xxxxxxxxxxxxx> <F2576A8B-0A0C-4E74-8646-A407744BE1C5@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Mon, 4 Jul 2011, Alexander Graf wrote:
> On 30.06.2011, at 19:26, <stefano.stabellini@xxxxxxxxxxxxx> 
> <stefano.stabellini@xxxxxxxxxxxxx> wrote:
> > From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> > 
> > Since CS 21994 on xen-unstable.hg and CS
> > 466608f3a32e1f9808acdf832a5843af37e5fcec on qemu-xen-unstable.git, few
> > changes have been introduced to the PV console xenstore protocol, as
> > described by the document docs/misc/console.txt under xen-unstable.hg.
> > 
> > From the Qemu point of view, very few modifications are needed to
> > correctly support the protocol: read from xenstore the "output" node
> > that tell us what the output of the PV console is going to be.
> > In case the output is a tty, write to xenstore the device name.
> This one breaks my usual smoke test case of executing a Xen PV machine:
>   $ ./x86_64-softmmu/qemu-system-x86_64 -xen-create -xen-domid 2 -M xenpv 
> -kernel /boot/vmlinux-xen -initrd /boot/initrd-xen -append 'xencons=tty 
> root=/dev/null' -nographic
> How about this patch on top? That way you can still override Qemu's serial 
> choice with xenstore, but keep the Qemu infrastructure in place for people 
> who don't want to use it. This will be especially important when Xenner comes 
> around, where a Xen PV VM feels the same as any other Qemu machine.

I think it is a reasonable compromise.

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>