qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Peter Crosthwaite <peter.crosthwaite@xilinx.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] Project idea: make QEMU more flexible
Date: Tue, 07 Jan 2014 15:40:26 +0100	[thread overview]
Message-ID: <52CC11DA.4050508@redhat.com> (raw)
In-Reply-To: <20140107143857.GI10654@zion.uk.xensource.com>

Il 07/01/2014 15:38, Wei Liu ha scritto:
> On Tue, Jan 07, 2014 at 02:50:12PM +0100, Paolo Bonzini wrote:
>> Il 07/01/2014 14:26, Stefano Stabellini ha scritto:
>>>> The identifiers poisoned by include/qemu/poison.h are
>>>> an initial but not complete list. Host and target
>>>> endianness is a particularly obvious one, as is the
>>>> size of a target long. You may not use these things
>>>> in your Xen devices, but "qemu-system-null" implies
>>>> more than "weird special purpose thing which only
>>>> has Xen devices in it".
>>>
>>> I see your point.
>>> Could we allow target endinness and long size being selected at
>>> configure time for target-null?
>>> The default could be the same as the host, or could even be simply
>>> statically determined, maybe little endian, 4 bytes.
>>
>> For Xen both long sizes are already supported by the block backend.  Are
>> there still guests that use BLKIF_PROTOCOL_NATIVE?  If not, long size
>> might not matter at all.
>>
>> And if in the future Xen were to grow support for a big-endian target,
>> you could either enforce little-endian for the ring buffers, or
>> negotiate it in xenstore like you do for sizeof(long).
>>
>> So let's call things by their name and add qemu-system-xenpv that covers
>> both x86 and ARM and anything else in the future.  Phasing out the
> 
> I think this makes sense. But does it deserve to be in default-configs/?

Sure.  You could build a qemu-system-xenpv variant that doesn't have the
framebuffer, for example.

> It will become default-configs/xenpv-softmmu.mak and target-xenpv shall be
> created.

Yes, exactly.

> I think implementing qemu-system-xenpv will be easier after your TCG
> series goes in. In that case I don't need to worry about TCG stubs
> anymore.

Right.

Paolo

  reply	other threads:[~2014-01-07 14:42 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-06 12:54 [Qemu-devel] Project idea: make QEMU more flexible Wei Liu
2014-01-06 13:23 ` Peter Crosthwaite
2014-01-06 15:11   ` Wei Liu
2014-01-06 16:32     ` Peter Maydell
2014-01-06 17:34       ` Stefano Stabellini
2014-01-06 18:06         ` Peter Maydell
2014-01-07 13:26           ` Stefano Stabellini
2014-01-07 13:35             ` Peter Maydell
2014-01-07 13:50             ` Paolo Bonzini
2014-01-07 14:34               ` Stefano Stabellini
2014-01-07 14:38               ` Wei Liu
2014-01-07 14:40                 ` Paolo Bonzini [this message]
2014-01-07 15:11               ` Peter Maydell
2014-01-07 15:34                 ` Paolo Bonzini
2014-01-06 13:25 ` [Qemu-devel] [Xen-devel] " Frediano Ziglio
2014-01-06 14:17   ` Stefano Stabellini
2014-01-06 14:21     ` Peter Maydell
2014-01-06 14:27       ` Anthony Liguori
2014-01-06 14:54         ` Stefano Stabellini
2014-01-06 15:04           ` Peter Maydell
2014-01-06 20:59             ` Paolo Bonzini
2014-01-06 15:39           ` Anthony Liguori
2014-01-06 15:57             ` Stefano Stabellini
2014-01-06 17:49               ` Anthony Liguori
2014-01-06 18:04                 ` Stefano Stabellini
2014-01-06 18:00             ` Andreas Färber
2014-01-06 20:53               ` Paolo Bonzini
2014-01-07 12:34                 ` Wei Liu
2014-01-07 13:32                   ` Paolo Bonzini
2014-01-07 13:37                     ` Wei Liu
2014-01-21 18:27                     ` Wei Liu
2014-01-22 10:20                       ` Paolo Bonzini
2014-01-22 12:09                         ` Wei Liu
2014-01-22 16:09                         ` Wei Liu
2014-01-23  9:11                           ` Paolo Bonzini
2014-01-23 13:54                             ` Wei Liu
2014-01-23 16:23                               ` Wei Liu
2014-02-04  4:32                                 ` Paolo Bonzini
2014-01-06 13:30 ` [Qemu-devel] " Peter Maydell
2014-01-06 15:12   ` Wei Liu
2014-01-06 18:12     ` Andreas Färber
2014-01-06 18:25       ` Wei Liu
2014-01-07 13:10         ` [Qemu-devel] [Xen-devel] " Stefano Stabellini

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=52CC11DA.4050508@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=peter.crosthwaite@xilinx.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@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).