From: Don Slutz <dslutz@verizon.com>
To: Jan Beulich <JBeulich@suse.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Keir Fraser <keir@xen.org>,
Ian Campbell <Ian.Campbell@citrix.com>,
Don Slutz <dslutz@verizon.com>,
xen-devel@lists.xen.org
Subject: Re: [RFC][PATCH v2 1/1] Add IOREQ_TYPE_VMWARE_PORT
Date: Mon, 06 Oct 2014 15:51:08 -0400 [thread overview]
Message-ID: <5432F2AC.80905@terremark.com> (raw)
In-Reply-To: <54327F5C020000780003C60E@mail.emea.novell.com>
On 10/06/14 05:39, Jan Beulich wrote:
>>>> On 06.10.14 at 11:21, <stefano.stabellini@eu.citrix.com> wrote:
>> On Mon, 6 Oct 2014, Jan Beulich wrote:
>>>>>> On 03.10.14 at 21:27, <dslutz@verizon.com> wrote:
>>>> --- a/xen/include/public/hvm/ioreq.h
>>>> +++ b/xen/include/public/hvm/ioreq.h
>>>> @@ -85,11 +85,22 @@ struct vmware_ioreq {
>>>> };
>>>> typedef struct vmware_ioreq vmware_ioreq_t;
>>>>
>>>> +union union_ioreq {
>>>> + ioreq_t oreq;
>>>> + vmware_ioreq_t vreq;
>>>> +};
>>>> +typedef union union_ioreq union_ioreq_t;
>>>> +
>>>> struct shared_iopage {
>>>> struct ioreq vcpu_ioreq[1];
>>>> };
>>>> typedef struct shared_iopage shared_iopage_t;
>>>>
>>>> +struct union_shared_iopage {
>>>> + union union_ioreq vcpu_ioreq[1];
>>>> +};
>>>> +typedef struct union_shared_iopage union_shared_iopage_t;
>>> I don't think either of these really need to be part of the public
>>> interface.
>> Do you prefer this union mechanism or the original code of this patch
>> 1412274977-6098-2-git-send-email-dslutz@verizon.com?
>>
>> I haven't see the QEMU code for the union approach, but both
>> alternatives would probably be fine from the QEMU POV.
Adding this union mechanism in QEMU would be making it part
of the public interface. So I have not yet coded it up.
> I'm fine with the union approach (subject to convincing myself that
> all this effort and new code is really worth it in the first place, as
> said elsewhere before), just not as part of the public interface
> (unless there is a clear need for it to be there).
I am read this as yes, add the union_ioreq_t to Xen but not to QEMU.
I know of at least 1 custom kernel that requires the VMware "rpc" code.
So I think that vmware_port support is just like viridian support. It allows
more guests to be run under Xen.
With the statement "move VMware rpc to QEMU", this patch was needed.
Hope, this helps.
-Don Slutz
> Jan
>
next prev parent reply other threads:[~2014-10-06 19:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-02 18:36 [RFC][PATCH v2 0/1] Add support for Xen access to vmport Don Slutz
2014-10-02 18:36 ` [RFC][PATCH v2 1/1] Add IOREQ_TYPE_VMWARE_PORT Don Slutz
2014-10-02 20:33 ` Andrew Cooper
2014-10-02 21:56 ` Don Slutz
2014-10-02 22:23 ` Andrew Cooper
2014-10-03 9:47 ` Stefano Stabellini
2014-10-03 9:51 ` Ian Campbell
2014-10-03 9:54 ` Stefano Stabellini
2014-10-03 19:27 ` Don Slutz
2014-10-06 7:55 ` Jan Beulich
2014-10-06 9:21 ` Stefano Stabellini
2014-10-06 9:39 ` Jan Beulich
2014-10-06 19:51 ` Don Slutz [this message]
2014-10-07 8:05 ` Jan Beulich
2014-10-06 9:54 ` Paul Durrant
2014-10-03 9:29 ` Paul Durrant
2014-10-03 19:44 ` Don Slutz
2014-10-03 9:46 ` Paul Durrant
2014-10-03 19:56 ` Don Slutz
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=5432F2AC.80905@terremark.com \
--to=dslutz@verizon.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=keir@xen.org \
--cc=stefano.stabellini@eu.citrix.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).