All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Fantoni <fantonifabio@tiscali.it>
To: Wei Liu <wei.liu2@citrix.com>
Cc: Fabio Fantoni <fabio.fantoni@m2r.biz>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [PATCH v3] libxl: Spice vdagent support for upstream qemu
Date: Mon, 06 May 2013 18:45:45 +0200	[thread overview]
Message-ID: <5187DE39.5060601@tiscali.it> (raw)
In-Reply-To: <20130506162836.GF32539@zion.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 1820 bytes --]

Il 06/05/2013 18:28, Wei Liu ha scritto:
> On Mon, May 06, 2013 at 04:17:00PM +0100, Fabio Fantoni wrote:
>>>> diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
>>>> index d10a58f..bc605e4 100644
>>>> --- a/tools/libxl/libxl_dm.c
>>>> +++ b/tools/libxl/libxl_dm.c
>>>> @@ -465,6 +465,12 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
>>>>               flexarray_append(dm_args, "-spice");
>>>>               flexarray_append(dm_args, spiceoptions);
>>>> +            if (libxl_defbool_val(b_info->u.hvm.spice.vdagent)) {
>>>> +                flexarray_vappend(dm_args, "-device", "virtio-serial",
>>> Dependency on VirtIO? Should this be documented as well? Does this mean
>>> that vdagent can only work with HVM? AFAICT we don't support VirtIO in
>>> PV.
>>>
>>>
>>> Wei.
>>>
>> Spice vdagent is available only if spice is available, and spice is
>> available only on hvm domU for now. There is no way for libxl to
>> check if the qemu build has all the required components before
>> running it. For example xen build qemu-xen without all the features
>> supported by libxl (not only the ones insert by me) and debian
>> experimental qemu build support all libxl features. If there isn't
>> spice enabled nothing happens, and if spice is enabled but the qemu
>> build doesn't have it, qemu doesn't start.
>>
> We cannot check QEMU features in libxl, but we can control build options
> for QEMU.
>
> Do we need to modify tools/Makefile to make QEMU include spice?
> Presumably the answer is "no" because you didn't have it in your patch
> but it is better to be clear.
>
>
> Wei.
>
>
I did one year ago but all version of my patch was rejected, for example 
one of these was:
http://lists.xen.org/archives/html/xen-devel/2012-04/msg00743.html


[-- Attachment #1.2: Firma crittografica S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4510 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2013-05-06 16:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-06 14:15 [PATCH v3] libxl: Spice vdagent support for upstream qemu fantonifabio
2013-05-06 14:44 ` Wei Liu
2013-05-06 15:17   ` Fabio Fantoni
2013-05-06 16:28     ` Wei Liu
2013-05-06 16:45       ` Fabio Fantoni [this message]
2013-05-07  9:37   ` Ian Campbell
2013-05-07  9:58     ` Wei Liu
2013-05-07 10:18       ` Ian Campbell
2013-05-07 10:38         ` Wei Liu
2013-05-07 10:41           ` Ian Campbell
2013-05-07 10:58             ` Wei Liu
2013-05-07 17:06 ` Ian Jackson
2013-05-08 14:57   ` Fabio Fantoni
2013-05-09 11:27   ` George Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5187DE39.5060601@tiscali.it \
    --to=fantonifabio@tiscali.it \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=fabio.fantoni@m2r.biz \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.