From: Julien Grall <julien.grall@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Julian Pidancet <julian.pidancet@citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [Xen-devel] [XEN][RFC PATCH 01/15] hvm: Modify interface to support multiple ioreq server
Date: Thu, 12 Apr 2012 20:33:25 +0100 [thread overview]
Message-ID: <4F872E05.8090808@citrix.com> (raw)
In-Reply-To: <1332502403.30916.23.camel@zakaz.uk.xensource.com>
On 03/23/2012 11:33 AM, Ian Campbell wrote:
> On Thu, 2012-03-22 at 15:59 +0000, Julien Grall wrote:
>
>> Add structure to handle ioreq server. It's server which can
>> handle a range of IO (MMIO and/or PIO) and emulate a PCI.
>> Each server as its own shared page to receive ioreq. So
>> we have introduced to HVM PARAM to set/get the first and
>> the last shared used for ioreq.
>> With it's id, the server knows which page it must use.
>>
> So id is always the page offset with the range? Why not just call it
> iobuf_offset then? Is the additional layer of abstraction from calling
> it "id" useful if we are just going to peek around it?
>
Indeed, but this parameter is also used to register bdf/io range.
So can we call it server_id or server_offset ?
>> diff --git a/xen/include/public/hvm/hvm_op.h b/xen/include/public/hvm/hvm_op.h
>> index 6a78f75..1e0e27b 100644
>> --- a/xen/include/public/hvm/hvm_op.h
>> +++ b/xen/include/public/hvm/hvm_op.h
>> @@ -24,6 +24,8 @@
>> #include "../xen.h"
>> #include "../trace.h"
>>
>> +#include "hvm_info_table.h" /* HVM_MAX_VCPUS */
>>
> You don't appear to use HVM_MAX_VCPUS anywhere in your additions?
>
>
I use it in xen-all.c in QEMU. It permits to check that smp_cpus is lower
that the maximum of vpcus. It avoids page overflow.
next prev parent reply other threads:[~2012-04-12 19:33 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-22 15:59 [XEN][RFC PATCH 00/15] QEMU disaggregation Julien Grall
2012-03-22 15:59 ` [XEN][RFC PATCH 01/15] hvm: Modify interface to support multiple ioreq server Julien Grall
2012-03-23 8:18 ` Jan Beulich
2012-03-26 12:32 ` Julien Grall
[not found] ` <4F7061F4.8000901@citrix.com>
2012-03-26 12:53 ` Jan Beulich
2012-03-23 11:33 ` Ian Campbell
2012-04-12 19:33 ` Julien Grall [this message]
2012-04-02 17:12 ` [Xen-devel] " Ian Jackson
2012-03-22 15:59 ` [XEN][RFC PATCH 02/15] hvm: Add functions to handle ioreq servers Julien Grall
2012-03-22 15:59 ` [XEN][RFC PATCH 03/15] hvm-pci: Handle PCI config space in Xen Julien Grall
2012-03-23 8:29 ` Jan Beulich
2012-03-26 12:20 ` Julien Grall
[not found] ` <4F705F12.1050308@citrix.com>
2012-03-26 12:52 ` Jan Beulich
2012-03-22 15:59 ` [XEN][RFC PATCH 04/15] hvm: Change initialization/destruction of an hvm Julien Grall
2012-03-22 15:59 ` [XEN][RFC PATCH 05/15] hvm: Modify hvm_op Julien Grall
2012-04-26 17:50 ` Christian Limpach
2012-03-22 15:59 ` [XEN][RFC PATCH 06/15] hvm-io: IO refactoring with ioreq server Julien Grall
2012-03-22 15:59 ` [XEN][RFC PATCH 07/15] hvm-io: send invalidate map cache to each registered servers Julien Grall
2012-03-22 15:59 ` [XEN][RFC PATCH 08/15] hvm-io: Handle server in buffered IO Julien Grall
2012-03-22 15:59 ` [XEN][RFC PATCH 09/15] xc: Add the hypercall for multiple servers Julien Grall
2012-03-23 11:37 ` Ian Campbell
2012-03-22 15:59 ` [XEN][RFC PATCH 10/15] xc: Add argument to allocate more special pages Julien Grall
2012-03-23 11:39 ` Ian Campbell
2012-03-22 15:59 ` [XEN][RFC PATCH 11/15] xc: Fix python build Julien Grall
2012-03-23 11:39 ` Ian Campbell
2012-03-22 15:59 ` [XEN][RFC PATCH 12/15] xl: Add interface to handle multiple device models Julien Grall
2012-03-23 11:47 ` Ian Campbell
2012-03-23 13:06 ` [Xen-devel] " Julien Grall
2012-03-23 13:55 ` Ian Campbell
2012-03-22 15:59 ` [XEN][RFC PATCH 13/15] xl-qmp: add device model id to qmp function Julien Grall
2012-03-22 15:59 ` [XEN][RFC PATCH 14/15] xl-parsing: Parse the new option device_models Julien Grall
2012-04-02 17:11 ` [Xen-devel] " Ian Jackson
2012-04-03 10:05 ` Stefano Stabellini
2012-04-03 13:31 ` Ian Jackson
2012-04-03 13:54 ` Julien Grall
2012-04-03 14:02 ` Ian Jackson
2012-04-03 14:16 ` [Xen-devel] " Stefano Stabellini
2012-04-03 14:23 ` Ian Jackson
2012-03-22 15:59 ` [XEN][RFC PATCH 15/15] xl: Launch and destroy all device models Julien Grall
2012-03-22 16:59 ` [XEN][RFC PATCH 00/15] QEMU disaggregation Tim Deegan
2012-03-23 13:44 ` [Xen-devel] " Julien Grall
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=4F872E05.8090808@citrix.com \
--to=julien.grall@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=julian.pidancet@citrix.com \
--cc=qemu-devel@nongnu.org \
--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 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).