Skip to contentSkip to conversation

Block patches

GIT PULL Applied Kevin Wolf 2 participants 9 messages Apr 30, 2015 – May 1, 2015

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

The following changes since commit 06feaacfb4cfef10cc0c93d97df7bfc8a71dbc7e:

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2015-04-30 12:04:11 +0100)

are available in the git repository at:

git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 4a4d614ff56b4cf15e83629946afe51dc116053f:

Enable NVMe start controller for Windows guest. (2015-04-30 15:35:26 +0200)

----------------------------------------------------------------
Block patches

----------------------------------------------------------------
Daniel Stekloff (1):
Enable NVMe start controller for Windows guest.

Kevin Wolf (1):
MAINTAINERS: Add qemu-block list where missing

Stefan Hajnoczi (5):
MAINTAINERS: make virtio-blk Stefan Hajnoczi's responsibility
MAINTAINERS: split out image formats
MAINTAINERS: make block I/O path Stefan Hajnoczi's responsibility
MAINTAINERS: make image fuzzer Stefan Hajnoczi's responsibility
MAINTAINERS: make block layer core Kevin Wolf's responsibility

 MAINTAINERS     | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
 hw/block/nvme.c |   7 ++++
 2 files changed, 110 insertions(+), 7 deletions(-)
author
#1 lore raw

[Qemu-devel] [PULL 1/7] MAINTAINERS: make virtio-blk Stefan Hajnoczi's responsibility

From: Stefan Hajnoczi <[email protected]>

---
 MAINTAINERS | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
MAINTAINERS +4 -1
index b5ab755..0c14de1 100644
@@ -704,10 +704,13 @@ F: tests/virtio-9p-test.c
 T: git git://github.com/kvaneesh/QEMU.git
 
 virtio-blk
-M: Kevin Wolf <[email protected]>
 M: Stefan Hajnoczi <[email protected]>
+L: [email protected]
 S: Supported
 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
 M: Cornelia Huck <[email protected]>
Signature · 1 line
1.8.3.1
author
#2 lore raw

[Qemu-devel] [PULL 3/7] MAINTAINERS: make block I/O path Stefan Hajnoczi's responsibility

In reply to Kevin Wolf

From: Stefan Hajnoczi <[email protected]>

The block I/O path includes the asynchronous I/O machinery and read/write/flush/discard processing. It somewhat arbitrarily also includes block migration, which I've found myself reviewing patches for over the years.

---
 MAINTAINERS | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
MAINTAINERS +10 -3
index 9cd8761..9e1413e 100644
@@ -774,12 +774,9 @@ Block
 M: Kevin Wolf <[email protected]>
 M: Stefan Hajnoczi <[email protected]>
 S: Supported
-F: async.c
-F: aio-*.c
 F: block*
 F: block/
 F: hw/block/
-F: migration/block*
 F: qemu-img*
 F: qemu-io*
 F: tests/image-fuzzer/
@@ -787,6 +784,16 @@ F: tests/qemu-iotests/
 T: git git://repo.or.cz/qemu/kevin.git block
 T: git git://github.com/stefanha/qemu.git block
 
+Block I/O path
+M: Stefan Hajnoczi <[email protected]>
+L: [email protected]
+S: Supported
+F: async.c
+F: aio-*.c
+F: block/io.c
+F: migration/block*
+T: git git://github.com/stefanha/qemu.git block
+
 Block Jobs
 M: Jeff Cody <[email protected]>
 L: [email protected]
Signature · 1 line
1.8.3.1
author
#3 lore raw

[Qemu-devel] [PULL 2/7] MAINTAINERS: split out image formats

In reply to Kevin Wolf

From: Stefan Hajnoczi <[email protected]>

Block driver submaintainers has proven to be a good model. Kevin and Stefan are splitting up the unclaimed block drivers so each has a dedicated maintainer.

---
 MAINTAINERS | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)
MAINTAINERS +77 -0
index 0c14de1..9cd8761 100644
@@ -1201,3 +1201,80 @@ M: Alberto Garcia <[email protected]>
 S: Supported
 F: block/quorum.c
 L: [email protected]
+
+blkverify
+M: Stefan Hajnoczi <[email protected]>
+L: [email protected]
+S: Supported
+F: block/blkverify.c
+
+bochs
+M: Stefan Hajnoczi <[email protected]>
+L: [email protected]
+S: Supported
+F: block/bochs.c
+
+cloop
+M: Stefan Hajnoczi <[email protected]>
+L: [email protected]
+S: Supported
+F: block/cloop.c
+
+dmg
+M: Stefan Hajnoczi <[email protected]>
+L: [email protected]
+S: Supported
+F: block/dmg.c
+
+parallels
+M: Stefan Hajnoczi <[email protected]>
+L: [email protected]
+S: Supported
+F: block/parallels.c
+
+qed
+M: Stefan Hajnoczi <[email protected]>
+L: [email protected]
+S: Supported
+F: block/qed.c
+
+raw
+M: Kevin Wolf <[email protected]>
+L: [email protected]
+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 <[email protected]>
+L: [email protected]
+S: Supported
+F: block/qcow2*
+
+qcow
+M: Kevin Wolf <[email protected]>
+L: [email protected]
+S: Supported
+F: block/qcow.c
+
+blkdebug
+M: Kevin Wolf <[email protected]>
+L: [email protected]
+S: Supported
+F: block/blkdebug.c
+
+vpc
+M: Kevin Wolf <[email protected]>
+L: [email protected]
+S: Supported
+F: block/vpc.c
+
+vvfat
+M: Kevin Wolf <[email protected]>
+L: [email protected]
+S: Supported
+F: block/vvfat.c
Signature · 1 line
1.8.3.1
author
#4 lore raw

[Qemu-devel] [PULL 4/7] MAINTAINERS: make image fuzzer Stefan Hajnoczi's responsibility

In reply to Kevin Wolf

From: Stefan Hajnoczi <[email protected]>

---
 MAINTAINERS | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
MAINTAINERS +6 -1
index 9e1413e..65a5cc5 100644
@@ -779,7 +779,6 @@ F: block/
 F: hw/block/
 F: qemu-img*
 F: qemu-io*
-F: tests/image-fuzzer/
 F: tests/qemu-iotests/
 T: git git://repo.or.cz/qemu/kevin.git block
 T: git git://github.com/stefanha/qemu.git block
@@ -1285,3 +1284,9 @@ M: Kevin Wolf <[email protected]>
 L: [email protected]
 S: Supported
 F: block/vvfat.c
+
+Image format fuzzer
+M: Stefan Hajnoczi <[email protected]>
+L: [email protected]
+S: Supported
+F: tests/image-fuzzer/
Signature · 1 line
1.8.3.1
author
#5 lore raw

[Qemu-devel] [PULL 5/7] MAINTAINERS: make block layer core Kevin Wolf's responsibility

In reply to Kevin Wolf

From: Stefan Hajnoczi <[email protected]>

Kevin is now sole maintainer of the core block layer, including BlockDriverState graphs and monitor commands.

---
 MAINTAINERS | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
MAINTAINERS +1 -3
index 65a5cc5..25fd2b5 100644
@@ -770,9 +770,8 @@ F: tests/ac97-test.c
 F: tests/es1370-test.c
 F: tests/intel-hda-test.c
 
-Block
+Block layer core
 M: Kevin Wolf <[email protected]>
-M: Stefan Hajnoczi <[email protected]>
 S: Supported
 F: block*
 F: block/
@@ -781,7 +780,6 @@ F: qemu-img*
 F: qemu-io*
 F: tests/qemu-iotests/
 T: git git://repo.or.cz/qemu/kevin.git block
-T: git git://github.com/stefanha/qemu.git block
 
 Block I/O path
 M: Stefan Hajnoczi <[email protected]>
Signature · 1 line
1.8.3.1
author
#6 lore raw

[Qemu-devel] [PULL 6/7] MAINTAINERS: Add qemu-block list where missing

In reply to Kevin Wolf
---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)
MAINTAINERS +6 -0
index 25fd2b5..0b67c48 100644
@@ -735,12 +735,14 @@ F: backends/rng*.c
 
 nvme
 M: Keith Busch <[email protected]>
+L: [email protected]
 S: Supported
 F: hw/block/nvme*
 F: tests/nvme-test.c
 
 megasas
 M: Hannes Reinecke <[email protected]>
+L: [email protected]
 S: Supported
 F: hw/scsi/megasas.c
 F: hw/scsi/mfi.h
@@ -772,6 +774,7 @@ F: tests/intel-hda-test.c
 
 Block layer core
 M: Kevin Wolf <[email protected]>
+L: [email protected]
 S: Supported
 F: block*
 F: block/
@@ -1111,6 +1114,7 @@ Block drivers
 -------------
 VMDK
 M: Fam Zheng <[email protected]>
+L: [email protected]
 S: Supported
 F: block/vmdk.c
 
@@ -1141,6 +1145,7 @@ T: git git://github.com/codyprime/qemu-kvm-jtc.git block
 
 VDI
 M: Stefan Weil <[email protected]>
+L: [email protected]
 S: Maintained
 F: block/vdi.c
 
@@ -1148,6 +1153,7 @@ iSCSI
 M: Ronnie Sahlberg <[email protected]>
 M: Paolo Bonzini <[email protected]>
 M: Peter Lieven <[email protected]>
+L: [email protected]
 S: Supported
 F: block/iscsi.c
 
Signature · 1 line
1.8.3.1
author
#7 lore raw

[Qemu-devel] [PULL 7/7] Enable NVMe start controller for Windows guest.

In reply to Kevin Wolf

From: Daniel Stekloff <[email protected]>

Windows seems to send two separate calls to NVMe controller configuration. The first sends configuration info and the second the enable bit. I couldn't enable the Windows 8.1 in-box NVMe driver with base Qemu. I made the following change to store the configuration data and then handle enable and NVMe driver works on Windows 8.1.

I am not a Windows expert and I'm not entirely sure this is the correct approach. I'm offering it for anyone who wishes to use NVMe on Windows 8.1 using Qemu.

I have tested this change with Linux and Windows guests with NVMe devices.

---
 hw/block/nvme.c | 7 +++++++
 1 file changed, 7 insertions(+)
hw/block/nvme.c +7 -0
index 1e07166..ad988d7 100644
@@ -615,6 +615,13 @@ static void nvme_write_bar(NvmeCtrl *n, hwaddr offset, uint64_t data,
         n->bar.intmc = n->bar.intms;
         break;
     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)) {
             n->bar.cc = data;
             if (nvme_start_ctrl(n)) {
Signature · 1 line
1.8.3.1
#8 lore raw
In reply to Kevin Wolf
Quoted 9 lines · Kevin Wolf

The following changes since commit 06feaacfb4cfef10cc0c93d97df7bfc8a71dbc7e:

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2015-04-30 12:04:11 +0100)

are available in the git repository at:

git://repo.or.cz/qemu/kevin.git tags/for-upstream

Quoted 8 lines

for you to fetch changes up to 4a4d614ff56b4cf15e83629946afe51dc116053f:

Enable NVMe start controller for Windows guest. (2015-04-30 15:35:26 +0200)

----------------------------------------------------------------
Block patches

----------------------------------------------------------------

Applied, thanks.

-- PMM