xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: "christian.limpach@gmail.com" <christian.limpach@gmail.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [XEN][RFC PATCH V2 05/17] hvm: Modify hvm_op
Date: Mon, 10 Sep 2012 14:02:39 +0100	[thread overview]
Message-ID: <504DE4EF.5070004@citrix.com> (raw)
In-Reply-To: <5037AE20020000780008A7A8@nat28.tlf.novell.com>

On 08/24/2012 04:38 PM, Jan Beulich wrote:
>>>> On 23.08.12 at 12:52, Julien Grall<julien.grall@citrix.com>  wrote:
>>>>          
>> On 08/23/2012 08:27 AM, Jan Beulich wrote:
>>      
>>>> switch ( a.index )
>>>> {
>>>> -            case HVM_PARAM_IOREQ_PFN:
>>>>
>>>>          
>>> Removing sub-ops which a domain can issue for itself (which for this and
>>> another one below appears to be the case) is not allowed.
>>>
>>>        
>> I removed these 3 sub-ops because it will not work with
>> QEMU disaggregation. Shared pages and event channel
>> for IO request are private for each device model.
>>      
> Then they need to be made inaccessible for that specific setup, not
> removed altogether.
>
>    
What do you mean by specific feature ?
With this patch series, you are able to handle one or more
QEMU.
Keep a compatibility with the old IO emulation is hard.
It's still possible but IOreq handle will not send an IOreq
if no device  models registered it. There is no more default QEMU.

I have send a long patch series for QEMU, but it's for supporting
a "full disaggregation" (i.e. multiple QEMU for domain).
If you want to handle only one QEMU the patch decrease to
only 100 lines. So it can be backported easily.

>>>> +            case HVM_PARAM_IO_PFN_FIRST:
>>>>
>>>>          
>>> I don't see where in this patch this and the other new sub-op constants
>>> get defined.
>>>
>>>        
>> Both sub-op constants are added in patch 1:
>> http://lists.xen.org/archives/html/xen-devel/2012-08/msg01767.html
>>      
> Hmm, I can certainly see reasons for breaking up things that way,
> but I generally prefer patches to represent functional units.
>    
I will rework my patch series to represen function units.

-- 
Julien Grall

  reply	other threads:[~2012-09-10 13:02 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22 12:31 [XEN][RFC PATCH V2 00/17] QEMU disaggregation in Xen environment Julien Grall
2012-08-22 12:31 ` [XEN][RFC PATCH V2 01/17] hvm: Modify interface to support multiple ioreq server Julien Grall
2012-08-23 13:18   ` Ian Campbell
2012-08-22 12:31 ` [XEN][RFC PATCH V2 02/17] hvm: Add functions to handle ioreq servers Julien Grall
2012-08-22 12:31 ` [XEN][RFC PATCH V2 03/17] hvm-pci: Handle PCI config space in Xen Julien Grall
2012-08-23  7:20   ` Jan Beulich
2012-08-22 12:31 ` [XEN][RFC PATCH V2 04/17] hvm: Change initialization/destruction of an hvm Julien Grall
2012-08-22 12:31 ` [XEN][RFC PATCH V2 05/17] hvm: Modify hvm_op Julien Grall
2012-08-22 12:31 ` [XEN][RFC PATCH V2 06/17] hvm-io: IO refactoring with ioreq server Julien Grall
2012-08-22 12:31 ` [XEN][RFC PATCH V2 07/17] hvm-io: send invalidate map cache to each registered servers Julien Grall
2012-08-22 12:31 ` [XEN][RFC PATCH V2 08/17] hvm-io: Handle server in buffered IO Julien Grall
2012-08-22 12:31 ` [XEN][RFC PATCH V2 09/17] xc: Add the hypercall for multiple servers Julien Grall
2012-08-23 13:21   ` Ian Campbell
2012-08-22 12:31 ` [XEN][RFC PATCH V2 10/17] xc: Add argument to allocate more special pages Julien Grall
2012-08-22 12:31 ` [XEN][RFC PATCH V2 11/17] xc: modify save/restore to support multiple device models Julien Grall
2012-08-23 13:27   ` Ian Campbell
     [not found]   ` <1345728471.12501.90.camel@zakaz.uk.xensource.com>
2012-08-23 19:13     ` Julien Grall
     [not found]     ` <503680C5.6070509@citrix.com>
2012-08-23 19:52       ` Ian Campbell
     [not found]       ` <1345751525.23624.58.camel@dagon.hellion.org.uk>
2012-08-24 10:27         ` Julien Grall
     [not found]         ` <50375721.7080503@citrix.com>
2012-08-24 10:35           ` Ian Campbell
2012-08-22 12:31 ` [XEN][RFC PATCH V2 12/17] xl: Add interface to handle qemu disaggregation Julien Grall
2012-08-23 13:30   ` Ian Campbell
     [not found]   ` <1345728617.12501.92.camel@zakaz.uk.xensource.com>
2012-08-24 12:56     ` Julien Grall
     [not found]     ` <503779F5.80508@citrix.com>
2012-08-24 13:03       ` Ian Campbell
     [not found]       ` <1345813421.19419.11.camel@zakaz.uk.xensource.com>
2012-08-24 13:23         ` Julien Grall
2012-08-22 12:31 ` [XEN][RFC PATCH V2 13/17] xl: add device model id to qmp functions Julien Grall
2012-08-22 12:32 ` [XEN][RFC PATCH V2 14/17] xl-parsing: Parse new device_models option Julien Grall
2012-08-23 13:35   ` Ian Campbell
     [not found]   ` <1345728948.12501.98.camel@zakaz.uk.xensource.com>
2012-08-24 13:12     ` Julien Grall
2012-08-22 12:32 ` [XEN][RFC PATCH V2 15/17] xl: support spawn/destroy on multiple device model Julien Grall
2012-08-23 13:56   ` Ian Campbell
     [not found]   ` <1345730172.12501.113.camel@zakaz.uk.xensource.com>
2012-08-24 13:51     ` Julien Grall
     [not found]     ` <503786CF.40006@citrix.com>
2012-08-24 14:09       ` Ian Campbell
     [not found]       ` <1345817370.19419.22.camel@zakaz.uk.xensource.com>
2012-08-24 14:37         ` Julien Grall
     [not found]         ` <50379193.3020600@citrix.com>
2012-08-24 14:45           ` Ian Campbell
2012-08-22 12:32 ` [XEN][RFC PATCH V2 16/17] xl: Fix PCI library Julien Grall
2012-08-22 12:32 ` [XEN][RFC PATCH V2 17/17] xl: implement save/restore for multiple device models Julien Grall
     [not found] ` <c378b04ee29071c1d6d68bd3ef48fedadb493b10.1345552068.git.julien.grall@citrix.com>
2012-08-23  7:27   ` [XEN][RFC PATCH V2 05/17] hvm: Modify hvm_op Jan Beulich
     [not found]   ` <5035E986020000780008A617@nat28.tlf.novell.com>
2012-08-23 10:52     ` Julien Grall
2012-08-24 15:38       ` Jan Beulich
2012-09-10 13:02         ` Julien Grall [this message]
2012-09-10 13:23           ` Jan Beulich
2012-09-10 13:35             ` Julien Grall
2012-09-10 13:38               ` Jan Beulich

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=504DE4EF.5070004@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=christian.limpach@gmail.com \
    --cc=xen-devel@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).