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

2012-02-10 Thread Paolo Bonzini
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 n

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

2012-02-10 Thread Stefan Hajnoczi
On Mon, Jan 16, 2012 at 4:30 PM, Paolo Bonzini wrote: > +static void virtio_scsi_get_config(VirtIODevice *vdev, > +                                   uint8_t *config) > +{ > +    VirtIOSCSIConfig *scsiconf = (VirtIOSCSIConfig *)config; > +    VirtIOSCSI *s = (VirtIOSCSI *)vdev; > + > +    stl_raw(

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

2012-01-16 Thread Paolo Bonzini
From: Stefan Hajnoczi Add a useless virtio SCSI HBA device: qemu -device virtio-scsi-pci Signed-off-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- Makefile.target |1 + default-configs/pci.mak |1 + default-configs/s390x-softmmu.mak |1 + hw/pc