qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/10] Today's compilation fixes
@ 2010-03-26 19:02 Blue Swirl
  2010-03-31 16:23 ` [Qemu-devel] [PATCH 0/5] *** SUBJECT HERE *** Paolo Bonzini
  0 siblings, 1 reply; 6+ messages in thread
From: Blue Swirl @ 2010-03-26 19:02 UTC (permalink / raw)
  To: qemu-devel

Comments, anyone?

Blue Swirl (10):
  pflash_cfi02: fix incorrect TARGET_FMT_lx/d use
  Compile pflash_cfi02 only once
  Compile pflash_cfi01 only once
  Compile ide/macio only once
  Compile openpic only once
  Compile prep_pci only once
  Compile most PPC devices only once
  Compile virtio-serial-bus only once
  Compile virtio-net only once
  Compile virtio-blk only once

 Makefile.objs                          |   22 ++++
 Makefile.target                        |   27 ++---
 default-configs/arm-softmmu.mak        |    2 +
 default-configs/cris-softmmu.mak       |    1 +
 default-configs/microblaze-softmmu.mak |    1 +
 default-configs/mips-softmmu.mak       |    1 +
 default-configs/mips64-softmmu.mak     |    1 +
 default-configs/mips64el-softmmu.mak   |    1 +
 default-configs/mipsel-softmmu.mak     |    1 +
 default-configs/ppc-softmmu.mak        |   14 ++
 default-configs/ppc64-softmmu.mak      |   14 ++
 default-configs/ppcemb-softmmu.mak     |   14 ++
 hw/etraxfs.c                           |    2 +-
 hw/flash.h                             |    5 +-
 hw/gumstix.c                           |   20 +++-
 hw/heathrow_pic.c                      |    4 -
 hw/ide/macio.c                         |   12 +--
 hw/mac_dbdma.c                         |    4 -
 hw/mainstone.c                         |   13 ++-
 hw/mips_malta.c                        |    8 +-
 hw/mips_r4k.c                          |   11 ++-
 hw/musicpal.c                          |   12 ++-
 hw/omap_sx1.c                          |   16 ++-
 hw/openpic.c                           |   32 ++----
 hw/petalogix_s3adsp1800_mmu.c          |    2 +-
 hw/pflash_cfi01.c                      |  195 +++++++++++++++++++----------
 hw/pflash_cfi02.c                      |  216 ++++++++++++++++++++-----------
 hw/ppc405_boards.c                     |    9 +-
 hw/ppce500_pci.c                       |    2 -
 hw/prep_pci.c                          |    8 --
 hw/unin_pci.c                          |    4 -
 hw/virtio-blk.c                        |    6 +-
 hw/virtio-net.c                        |   14 +-
 hw/virtio-serial-bus.c                 |   16 ++--
 sysemu.h                               |    4 -
 35 files changed, 452 insertions(+), 262 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [Qemu-devel] [PATCH 0/5] *** SUBJECT HERE ***
@ 2010-06-14  9:44 Nicholas A. Bellinger
  0 siblings, 0 replies; 6+ messages in thread
From: Nicholas A. Bellinger @ 2010-06-14  9:44 UTC (permalink / raw)
  To: Gerd Hoffmann, Kevin Wolf, FUJITA Tomonori
  Cc: kvm-devel, qemu-devel, Nicholas Bellinger, Hannes Reinecke,
	Christoph Hellwig, Paul Brook

From: Nicholas Bellinger <nab@linux-iscsi.org>

Greetings Gerd, Hannes and co,

This series adds initial support for a hw/scsi-bsg.c backstore for scsi-bus
compatible HBA emulation in QEMU-KVM on Linux hosts supporting the BSG driver.
This code is available from the scsi-bsg branch in the megasas/scsi friendly QEMU-KVM tree at:

http://git.kernel.org/?p=virt/kvm/nab/qemu-kvm.git;a=shortlog;h=refs/heads/scsi-bsg

Note that this initial code is being posted for review and to see how useful a BSG backstore
would be for QEMU-KVM and Linux hosts.  Note that in order for BSG I/O to function using vectored
AIO a kernel patch to linux/block/bsg.c:bsg_map_hdr() is currently required running on a bit paired
user/kernel enviroment.  The kernel patch in question is here:

http://marc.info/?l=linux-scsi&m=127649585524598&w=2

The first three patches involve updating block code to support the BSG backstore for scsi-bsg.

The forth patch adds the minor changes to hw/scsi-bus.c and hw/scsi-disk.c in order to
function with scsi-bsg.

And the fifth patch adds the main hw/scsi-bsg.c logic necessary to run the new struct
SCSIDeviceInfo and for BSG AIO using struct iovec and paio_submit_len() to function.

So far this patch series has been tested with a Linux based x86_64 KVM host and guest
using the hw/megasas.c 8708EM2 HBA Emulation with TCM_Loop virtual SAS Port LUNs.

Comments are welcome,

Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>

Nicholas Bellinger (5):
  [block]: Add top level BSG support
  [block]: Add BSG qemu_open() in block/raw.c:raw_open()
  [block]: Add paio_submit_len() non sector sized AIO
  [scsi]: Add BSG support for scsi-bus and scsi-disk
  [scsi-bsg]: Add initial support for BSG based SCSIDeviceInfo

 Makefile.objs         |    2 +-
 block.c               |   23 ++-
 block.h               |    1 +
 block/raw-posix-aio.h |    3 +
 block/raw-posix.c     |   17 ++-
 block/raw.c           |   20 ++
 block_int.h           |    5 +
 hw/scsi-bsg.c         |  588 +++++++++++++++++++++++++++++++++++++++++++++++++
 hw/scsi-bus.c         |    3 +-
 hw/scsi-disk.c        |    4 +
 posix-aio-compat.c    |   28 +++
 11 files changed, 687 insertions(+), 7 deletions(-)
 create mode 100644 hw/scsi-bsg.c

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-14  9:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 19:02 [Qemu-devel] [PATCH 00/10] Today's compilation fixes Blue Swirl
2010-03-31 16:23 ` [Qemu-devel] [PATCH 0/5] *** SUBJECT HERE *** Paolo Bonzini
2010-03-31 17:08   ` [Qemu-devel] " Blue Swirl
2010-03-31 19:08     ` Aurelien Jarno
2010-04-01 12:48     ` Paul Brook
  -- strict thread matches above, loose matches on Subject: below --
2010-06-14  9:44 [Qemu-devel] " Nicholas A. Bellinger

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).