Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging

Block patches

# gpg: Signature made Thu Apr 30 19:51:16 2015 BST using RSA key ID C88F2FD6
# gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"

* remotes/kevin/tags/for-upstream:
  Enable NVMe start controller for Windows guest.
  MAINTAINERS: Add qemu-block list where missing
  MAINTAINERS: make block layer core Kevin Wolf's responsibility
  MAINTAINERS: make image fuzzer Stefan Hajnoczi's responsibility
  MAINTAINERS: make block I/O path Stefan Hajnoczi's responsibility
  MAINTAINERS: split out image formats
  MAINTAINERS: make virtio-blk Stefan Hajnoczi's responsibility

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell
2015-04-30 20:34:54 +01:00
2 changed files with 110 additions and 7 deletions

View File

@ -704,10 +704,13 @@ F: tests/virtio-9p-test.c
T: git git://github.com/kvaneesh/QEMU.git T: git git://github.com/kvaneesh/QEMU.git
virtio-blk virtio-blk
M: Kevin Wolf <kwolf@redhat.com>
M: Stefan Hajnoczi <stefanha@redhat.com> M: Stefan Hajnoczi <stefanha@redhat.com>
L: qemu-block@nongnu.org
S: Supported S: Supported
F: hw/block/virtio-blk.c F: hw/block/virtio-blk.c
F: hw/block/dataplane/*
F: hw/virtio/dataplane/*
T: git git://github.com/stefanha/qemu.git block
virtio-ccw virtio-ccw
M: Cornelia Huck <cornelia.huck@de.ibm.com> M: Cornelia Huck <cornelia.huck@de.ibm.com>
@ -732,12 +735,14 @@ F: backends/rng*.c
nvme nvme
M: Keith Busch <keith.busch@intel.com> M: Keith Busch <keith.busch@intel.com>
L: qemu-block@nongnu.org
S: Supported S: Supported
F: hw/block/nvme* F: hw/block/nvme*
F: tests/nvme-test.c F: tests/nvme-test.c
megasas megasas
M: Hannes Reinecke <hare@suse.de> M: Hannes Reinecke <hare@suse.de>
L: qemu-block@nongnu.org
S: Supported S: Supported
F: hw/scsi/megasas.c F: hw/scsi/megasas.c
F: hw/scsi/mfi.h F: hw/scsi/mfi.h
@ -767,21 +772,26 @@ F: tests/ac97-test.c
F: tests/es1370-test.c F: tests/es1370-test.c
F: tests/intel-hda-test.c F: tests/intel-hda-test.c
Block Block layer core
M: Kevin Wolf <kwolf@redhat.com> M: Kevin Wolf <kwolf@redhat.com>
M: Stefan Hajnoczi <stefanha@redhat.com> L: qemu-block@nongnu.org
S: Supported S: Supported
F: async.c
F: aio-*.c
F: block* F: block*
F: block/ F: block/
F: hw/block/ F: hw/block/
F: migration/block*
F: qemu-img* F: qemu-img*
F: qemu-io* F: qemu-io*
F: tests/image-fuzzer/
F: tests/qemu-iotests/ F: tests/qemu-iotests/
T: git git://repo.or.cz/qemu/kevin.git block T: git git://repo.or.cz/qemu/kevin.git block
Block I/O path
M: Stefan Hajnoczi <stefanha@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: async.c
F: aio-*.c
F: block/io.c
F: migration/block*
T: git git://github.com/stefanha/qemu.git block T: git git://github.com/stefanha/qemu.git block
Block Jobs Block Jobs
@ -1104,6 +1114,7 @@ Block drivers
------------- -------------
VMDK VMDK
M: Fam Zheng <famz@redhat.com> M: Fam Zheng <famz@redhat.com>
L: qemu-block@nongnu.org
S: Supported S: Supported
F: block/vmdk.c F: block/vmdk.c
@ -1134,6 +1145,7 @@ T: git git://github.com/codyprime/qemu-kvm-jtc.git block
VDI VDI
M: Stefan Weil <sw@weilnetz.de> M: Stefan Weil <sw@weilnetz.de>
L: qemu-block@nongnu.org
S: Maintained S: Maintained
F: block/vdi.c F: block/vdi.c
@ -1141,6 +1153,7 @@ iSCSI
M: Ronnie Sahlberg <ronniesahlberg@gmail.com> M: Ronnie Sahlberg <ronniesahlberg@gmail.com>
M: Paolo Bonzini <pbonzini@redhat.com> M: Paolo Bonzini <pbonzini@redhat.com>
M: Peter Lieven <pl@kamp.de> M: Peter Lieven <pl@kamp.de>
L: qemu-block@nongnu.org
S: Supported S: Supported
F: block/iscsi.c F: block/iscsi.c
@ -1198,3 +1211,86 @@ M: Alberto Garcia <berto@igalia.com>
S: Supported S: Supported
F: block/quorum.c F: block/quorum.c
L: qemu-block@nongnu.org L: qemu-block@nongnu.org
blkverify
M: Stefan Hajnoczi <stefanha@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/blkverify.c
bochs
M: Stefan Hajnoczi <stefanha@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/bochs.c
cloop
M: Stefan Hajnoczi <stefanha@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/cloop.c
dmg
M: Stefan Hajnoczi <stefanha@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/dmg.c
parallels
M: Stefan Hajnoczi <stefanha@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/parallels.c
qed
M: Stefan Hajnoczi <stefanha@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/qed.c
raw
M: Kevin Wolf <kwolf@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/linux-aio.c
F: block/raw-aio.h
F: block/raw-posix.c
F: block/raw-win32.c
F: block/raw_bsd.c
F: block/win32-aio.c
qcow2
M: Kevin Wolf <kwolf@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/qcow2*
qcow
M: Kevin Wolf <kwolf@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/qcow.c
blkdebug
M: Kevin Wolf <kwolf@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/blkdebug.c
vpc
M: Kevin Wolf <kwolf@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/vpc.c
vvfat
M: Kevin Wolf <kwolf@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: block/vvfat.c
Image format fuzzer
M: Stefan Hajnoczi <stefanha@redhat.com>
L: qemu-block@nongnu.org
S: Supported
F: tests/image-fuzzer/

View File

@ -615,6 +615,13 @@ static void nvme_write_bar(NvmeCtrl *n, hwaddr offset, uint64_t data,
n->bar.intmc = n->bar.intms; n->bar.intmc = n->bar.intms;
break; break;
case 0x14: case 0x14:
/* Windows first sends data, then sends enable bit */
if (!NVME_CC_EN(data) && !NVME_CC_EN(n->bar.cc) &&
!NVME_CC_SHN(data) && !NVME_CC_SHN(n->bar.cc))
{
n->bar.cc = data;
}
if (NVME_CC_EN(data) && !NVME_CC_EN(n->bar.cc)) { if (NVME_CC_EN(data) && !NVME_CC_EN(n->bar.cc)) {
n->bar.cc = data; n->bar.cc = data;
if (nvme_start_ctrl(n)) { if (nvme_start_ctrl(n)) {