qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 11/15] virtio-scsi: Add virtio-scsi stub device


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 11/15] virtio-scsi: Add virtio-scsi stub device
Date: Fri, 10 Feb 2012 13:46:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0

On 02/10/2012 01:41 PM, Stefan Hajnoczi wrote:
At this early stage we still have the option of designing the device
to be little- or big-endian.  I'm in favour of a fixed endianness even
though existing virtio devices tend to use guest-endian.

What do you think?

Interesting idea, but I'd say no for three reasons:

1) The virtqueue would remain in guest-endianness.

2) Even if the result is better, it is still different from every other device, so right now it would be a one-off exception (and it would likely remain so; it's not like there are new virtio devices every week :)).

3) I'm afraid of breaking something else, for example pSeries virtio is doing complicated things that I don't really understand to split the I/O BAR in two parts, the first in PCI endianness and the second in native endianness.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]