d\`")
sed -i 's/`basename $0`/$(basename $0)/g' $(git grep -l "basename \$0")
A small amount of the rest is manually modified.
Cc: kw...@redhat.com
Cc: mre...@redhat.com
Cc: qemu-block@nongnu.org
Signed-off-by: Mao Zhongyi
---
tests/qemu-iotests/001| 4 +-
d\`")
sed -i 's/`basename $0`/$(basename $0)/g' $(git grep -l "basename \$0")
A small amount of the rest is manually modified.
Cc: kw...@redhat.com
Cc: mre...@redhat.com
Cc: qemu-block@nongnu.org
Signed-off-by: Mao Zhongyi
---
tests/qemu-iotests/001| 4 +-
Suggested-by: Eric Blake
Signed-off-by: Mao Zhongyi
---
configure| 2 +-
tests/check-block.sh | 6 ++--
tests/qemu-iotests/001 | 2 +-
tests/qemu-iotests/002 | 2 +-
tests/qemu-iotests/003 | 2 +-
tests/qemu-iotests/004
Cc: qemu-...@nongnu.org
Cc: qemu-block@nongnu.org
Cc: qemu-...@nongnu.org
Cc: qemu-s3...@nongnu.org
Cc: richard.hender...@linaro.org
Cc: r...@twiddle.net
Cc: sstabell...@kernel.org
Cc: th...@redhat.com
Cc: xen-de...@lists.xenproject.org
Mao Zhongyi
Use DeviceClass rather than SysBusDeviceClass in
onenand_class_init().
Cc: kw...@redhat.com
Cc: mre...@redhat.com
Cc: qemu-block@nongnu.org
Signed-off-by: Mao Zhongyi
Signed-off-by: Zhang Shengju
---
hw/block/onenand.c | 19 ---
1 file changed, 8 insertions(+), 11 deletions
Use DeviceClass rather than SysBusDeviceClass in
onenand_class_init().
Cc: kw...@redhat.com
Cc: mre...@redhat.com
Cc: qemu-block@nongnu.org
Signed-off-by: Mao Zhongyi
Signed-off-by: Zhang Shengju
---
hw/block/onenand.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions
..@linaro.org
Cc: qemu-...@nongnu.org
Cc: qemu-block@nongnu.org
Cc: qemu-...@nongnu.org
Cc: qemu-s3...@nongnu.org
Cc: richard.hender...@linaro.org
Cc: r...@twiddle.net
Cc: sstabell...@kernel.org
Cc: th...@redhat.com
Cc: xen-de...@lists.xenproject.org
Mao Zhongyi (21):
musi
Use DeviceClass rather than SysBusDeviceClass in
onenand_class_init().
Cc: kw...@redhat.com
Cc: mre...@redhat.com
Cc: qemu-block@nongnu.org
Signed-off-by: Mao Zhongyi
Signed-off-by: Zhang Shengju
Reviewed-by: Philippe Mathieu-Daudé
---
hw/block/onenand.c | 16 +++-
1 file changed
er...@linaro.org
Cc: r...@twiddle.net
Cc: sstabell...@kernel.org
Cc: th...@redhat.com
Cc: xen-de...@lists.xenproject.org
Mao Zhongyi (21):
musicpal: Convert sysbus init function to realize function
block/noenand: Convert sysbus init function to realize function
char/grlib_apbuart: Convert sysb
il.com
Cc: jc...@redhat.com
Cc: kw...@redhat.com
Cc: mre...@redhat.com
Cc: berra...@redhat.com
Cc: kra...@redhat.com
Cc: pbonz...@redhat.com
Cc: qemu-block@nongnu.org
Cc: sheep...@lists.wpkg.org
Suggested-by: Daniel P. Berrange
Signed-off-by: Cao jin
Signed-off-by: Mao Zhongyi
---
This patch was
On 06/15/2017 03:34 PM, Juan Quintela wrote:
Mao Zhongyi wrote:
From: Cao jin
The non-blocking connect mechanism is obsolete, and it doesn't
work well in inet connection, because it will call getaddrinfo
first and getaddrinfo will blocks on DNS lookups. Since commit
e65c67e4 &
On 06/16/2017 08:21 AM, Fam Zheng wrote:
On Thu, 06/15 11:08, Mao Zhongyi wrote:
From: Cao jin
The non-blocking connect mechanism is obsolete, and it doesn't
work well in inet connection, because it will call getaddrinfo
first and getaddrinfo will blocks on DNS lookups. Since c
ed-off-by: Mao Zhongyi
Reviewed-by: Juan Quintela
Reviewed-by: Daniel P. Berrange
---
v2:
1. block/ssh.c is not compiled in v1 which leads to no error
reported when I run make & make check, although I make a
mistake in block/ssh.c, because the package libssh2-devel
: Cao jin
Signed-off-by: Mao Zhongyi
Reviewed-by: Juan Quintela
Reviewed-by: Daniel P. Berrange
---
v3:
1. fix the mistake that adds a unmodified file '--help' [Fam Zheng]
v2:
1. block/ssh.c is not compiled in v1 which leads to no error
reported when I run make & make c
On 07/25/2017 06:07 AM, John Snow wrote:
This was posted over a month ago with two R-Bs, did it get merged or dropped?
--js
Not yet, I hope that it will.
Thanks,
Mao
On 06/16/2017 04:54 AM, Mao Zhongyi wrote:
From: Cao jin
The non-blocking connect mechanism is obsolete, and it
The function name of usb_msd_{realize,unrealize}_*,
usb_msd_class_initfn_* are unusual. Rename it to
usb_msd_*_{realize,unrealize}, usb_msd_class_*_initfn.
Cc: Gerd Hoffmann
Signed-off-by: Mao Zhongyi
---
hw/usb/dev-storage.c | 20 ++--
1 file changed, 10 insertions(+), 10
Replace init with realize in IDEDeviceClass, which has errp
as a parameter. So all the implementations now use error_setg
instead of error_report for reporting error.
Cc: John Snow
Cc: Markus Armbruster
Signed-off-by: Mao Zhongyi
---
hw/ide/core.c | 7 ++--
hw/ide/qdev.c
Convert floppy_drive_init() to realize and rename it to
floppy_drive_realize().
Cc: John Snow
Cc: Kevin Wolf
Cc: Max Reitz
Cc: Markus Armbruster
Signed-off-by: Mao Zhongyi
---
hw/block/fdc.c | 33 -
1 file changed, 16 insertions(+), 17 deletions(-)
diff
Busch
Cc: Stefan Hajnoczi
Cc: "Michael S. Tsirkin"
Cc: Paolo Bonzini
Cc: Gerd Hoffmann
Cc: Markus Armbruster
Mao Zhongyi (6):
hw/ide: Convert DeviceClass init to realize
hw/block/fdc: Convert to realize
hw/block/nvme: Convert to realize
hw/block: Fix the return type
hw/
Convert nvme_init() to realize and rename it to nvme_realize().
Cc: Keith Busch
Cc: Kevin Wolf
Cc: Max Reitz
Cc: Markus Armbruster
Signed-off-by: Mao Zhongyi
---
hw/block/nvme.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/hw/block/nvme.c b/hw
Cc: Markus Armbruster
Signed-off-by: Mao Zhongyi
---
hw/block/fdc.c| 17 ++---
hw/block/nvme.c | 8 +++-
hw/block/virtio-blk.c | 17 +
hw/ide/qdev.c | 12
hw/scsi/scsi-disk.c | 13 -
hw/usb/dev-storage.c | 9 +++-
value is worth.
So fix the return type of blkconf_apply_backend_options(),
blkconf_geometry() and virtio_blk_data_plane_create() to avoid it.
Cc: John Snow
Cc: Kevin Wolf
Cc: Max Reitz
Cc: Stefan Hajnoczi
Signed-off-by: Mao Zhongyi
---
hw/block/block.c| 21
Hi
On 08/01/2017 10:29 PM, Markus Armbruster wrote:
Stefan Hajnoczi writes:
On Wed, Jul 26, 2017 at 08:02:53PM +0800, Mao Zhongyi wrote:
When the function no success value to transmit, it usually make the
function return void. It has turned out not to be a success, because
it means that the
Convert floppy_drive_init() to realize and rename it to
floppy_drive_realize().
Cc: John Snow
Cc: Kevin Wolf
Cc: Max Reitz
Cc: Markus Armbruster
Signed-off-by: Mao Zhongyi
---
hw/block/fdc.c | 33 -
1 file changed, 16 insertions(+), 17 deletions(-)
diff
The function name of usb_msd_{realize,unrealize}_*,
usb_msd_class_initfn_* are unusual. Rename it to
usb_msd_*_{realize,unrealize}, usb_msd_class_*_initfn.
Cc: Gerd Hoffmann
Signed-off-by: Mao Zhongyi
---
hw/usb/dev-storage.c | 20 ++--
1 file changed, 10 insertions(+), 10
value is worth.
So fix the return type of blkconf_apply_backend_options(),
blkconf_geometry() and virtio_blk_data_plane_create() to avoid it.
Cc: John Snow
Cc: Kevin Wolf
Cc: Max Reitz
Cc: Stefan Hajnoczi
Signed-off-by: Mao Zhongyi
---
hw/block/block.c| 15
. [Markus Armbruster & Stefan
Hajnoczi]
Cc: John Snow
Cc: Kevin Wolf
Cc: Max Reitz
Cc: Keith Busch
Cc: Stefan Hajnoczi
Cc: "Michael S. Tsirkin"
Cc: Paolo Bonzini
Cc: Gerd Hoffmann
Cc: Markus Armbruster
Mao Zhongyi (6):
hw/ide: Convert DeviceClass init to realize
hw/block/f
Convert nvme_init() to realize and rename it to nvme_realize().
Cc: John Snow
Cc: Keith Busch
Cc: Kevin Wolf
Cc: Max Reitz
Cc: Markus Armbruster
Signed-off-by: Mao Zhongyi
---
hw/block/nvme.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/hw/block
Cc: Markus Armbruster
Signed-off-by: Mao Zhongyi
---
hw/block/fdc.c| 17 ++---
hw/block/nvme.c | 8 +++-
hw/block/virtio-blk.c | 17 +
hw/ide/qdev.c | 12
hw/scsi/scsi-disk.c | 13 -
hw/usb/dev-storage.c | 9 +++-
Replace init with realize in IDEDeviceClass, which has errp
as a parameter. So all the implementations now use error_setg
instead of error_report for reporting error.
Cc: John Snow
Cc: Markus Armbruster
Signed-off-by: Mao Zhongyi
---
hw/ide/core.c | 7 ++--
hw/ide/qdev.c
On 09/16/2017 05:35 AM, John Snow wrote:
On 08/04/2017 06:26 AM, Mao Zhongyi wrote:
Replace init with realize in IDEDeviceClass, which has errp
as a parameter. So all the implementations now use error_setg
instead of error_report for reporting error.
Cc: John Snow
Cc: Markus Armbruster
On 09/16/2017 06:03 AM, John Snow wrote:
On 09/15/2017 05:35 PM, John Snow wrote:
On 08/04/2017 06:26 AM, Mao Zhongyi wrote:
Replace init with realize in IDEDeviceClass, which has errp
as a parameter. So all the implementations now use error_setg
instead of error_report for reporting
Signed-off-by: Mao Zhongyi
---
block/monitor/block-hmp-cmds.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/block/monitor/block-hmp-cmds.c b/block/monitor/block-hmp-cmds.c
index 3e6670c963..2ac4aedfff 100644
--- a/block/monitor/block-hmp-cmds.c
+++ b/block
33 matches
Mail list logo