Re: [PATCH v2 1/2] qemu-img: Add --target-is-zero to convert

2020-01-27 Thread David Edmondson
Eric Blake writes: > On 1/24/20 4:34 AM, David Edmondson wrote: >> In many cases the target of a convert operation is a newly provisioned >> target that the user knows is blank (filled with zeroes). In this >> situation there is no requirement for qemu-img to wastefully zero out >> the entire dev

Re: [PATCH v2 2/2] doc: Use @code rather than @var for options

2020-01-27 Thread David Edmondson
Eric Blake writes: > On 1/24/20 4:34 AM, David Edmondson wrote: >> Texinfo defines @var for metasyntactic variables and such terms are >> shown in upper-case or italics in the output of makeinfo. When >> considering an option to a command, such as "-n", upper-casing is >> undesirable as it may co

[PULL 2/2] tests/ide-test: Create a single unit-test covering more PRDT cases

2020-01-27 Thread John Snow
From: Alexander Popov Fuzzing the Linux kernel with syzkaller allowed to find how to crash qemu using a special SCSI_IOCTL_SEND_COMMAND. It hits the assertion in ide_dma_cb() introduced in the commit a718978ed58a in July 2015. Currently this bug is not reproduced by the unit tests. Let's improve

[PULL 1/2] ide: Fix incorrect handling of some PRDTs in ide_dma_cb()

2020-01-27 Thread John Snow
From: Alexander Popov The commit a718978ed58a from July 2015 introduced the assertion which implies that the size of successful DMA transfers handled in ide_dma_cb() should be multiple of 512 (the size of a sector). But guest systems can initiate DMA transfers that don't fit this requirement. Fo

[PULL 0/2] Ide patches

2020-01-27 Thread John Snow
The following changes since commit 105b07f1ba462ec48b27e5cb74ddf81c6a79364c: Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20200127' into staging (2020-01-27 13:02:36 +) are available in the Git repository at: https://github.com/jnsnow/qemu.git tags/ide-pull-reques

Re: [PATCH v2 1/2] qemu-img: Add --target-is-zero to convert

2020-01-27 Thread Eric Blake
On 1/24/20 4:34 AM, David Edmondson wrote: In many cases the target of a convert operation is a newly provisioned target that the user knows is blank (filled with zeroes). In this situation there is no requirement for qemu-img to wastefully zero out the entire device. Add a new option, --target-

Re: [PATCH v3 00/13] RFC: [for 5.0]: HMP monitor handlers cleanups

2020-01-27 Thread John Snow
On 1/27/20 3:43 PM, Peter Krempa wrote: > On Mon, Jan 27, 2020 at 14:39:02 -0500, John Snow wrote: >> >> >> On 1/27/20 5:36 AM, Maxim Levitsky wrote: >>> This patch series is bunch of cleanups >>> to the hmp monitor code. >>> >>> This series only touched blockdev related hmp handlers. >>> >>> No

Re: [PATCH v3 00/13] RFC: [for 5.0]: HMP monitor handlers cleanups

2020-01-27 Thread Peter Krempa
On Mon, Jan 27, 2020 at 14:39:02 -0500, John Snow wrote: > > > On 1/27/20 5:36 AM, Maxim Levitsky wrote: > > This patch series is bunch of cleanups > > to the hmp monitor code. > > > > This series only touched blockdev related hmp handlers. > > > > No functional changes expected other that > >

Re: [PATCH v3 00/13] RFC: [for 5.0]: HMP monitor handlers cleanups

2020-01-27 Thread John Snow
On 1/27/20 5:36 AM, Maxim Levitsky wrote: > This patch series is bunch of cleanups > to the hmp monitor code. > > This series only touched blockdev related hmp handlers. > > No functional changes expected other that > light error message changes by the last patch. > > This was inspired by thi

Re: [PATCH v2 2/2] doc: Use @code rather than @var for options

2020-01-27 Thread Eric Blake
On 1/24/20 4:34 AM, David Edmondson wrote: Texinfo defines @var for metasyntactic variables and such terms are shown in upper-case or italics in the output of makeinfo. When considering an option to a command, such as "-n", upper-casing is undesirable as it may confuse the reader or be in conflic

[PULL 09/13] blockdev: Return bs to the proper context on snapshot abort

2020-01-27 Thread Kevin Wolf
From: Sergio Lopez external_snapshot_abort() calls to bdrv_set_backing_hd(), which returns state->old_bs to the main AioContext, as it's intended to be used then the BDS is going to be released. As that's not the case when aborting an external snapshot, return it to the AioContext it was before t

[PULL 06/13] blockdev: honor bdrv_try_set_aio_context() context requirements

2020-01-27 Thread Kevin Wolf
From: Sergio Lopez bdrv_try_set_aio_context() requires that the old context is held, and the new context is not held. Fix all the occurrences where it's not done this way. Suggested-by: Max Reitz Signed-off-by: Sergio Lopez Signed-off-by: Kevin Wolf --- blockdev.c | 68 ++

[PULL 12/13] iscsi: Cap block count from GET LBA STATUS (CVE-2020-1711)

2020-01-27 Thread Kevin Wolf
From: Felipe Franciosi When querying an iSCSI server for the provisioning status of blocks (via GET LBA STATUS), Qemu only validates that the response descriptor zero's LBA matches the one requested. Given the SCSI spec allows servers to respond with the status of blocks beyond the end of the LUN

[PULL 11/13] block/backup: fix memory leak in bdrv_backup_top_append()

2020-01-27 Thread Kevin Wolf
From: Eiichi Tsukata bdrv_open_driver() allocates bs->opaque according to drv->instance_size. There is no need to allocate it and overwrite opaque in bdrv_backup_top_append(). Reproducer: $ QTEST_QEMU_BINARY=./x86_64-softmmu/qemu-system-x86_64 valgrind -q --leak-check=full tests/test-replica

[PULL 07/13] block/backup-top: Don't acquire context while dropping top

2020-01-27 Thread Kevin Wolf
From: Sergio Lopez All paths that lead to bdrv_backup_top_drop(), except for the call from backup_clean(), imply that the BDS AioContext has already been acquired, so doing it there too can potentially lead to QEMU hanging on AIO_WAIT_WHILE(). An easy way to trigger this situation is by issuing

[PULL 05/13] blockdev: unify qmp_blockdev_backup and blockdev-backup transaction paths

2020-01-27 Thread Kevin Wolf
From: Sergio Lopez Issuing a blockdev-backup from qmp_blockdev_backup takes a slightly different path than when it's issued from a transaction. In the code, this is manifested as some redundancy between do_blockdev_backup() and blockdev_backup_prepare(). This change unifies both paths, merging d

[PULL 04/13] blockdev: unify qmp_drive_backup and drive-backup transaction paths

2020-01-27 Thread Kevin Wolf
From: Sergio Lopez Issuing a drive-backup from qmp_drive_backup takes a slightly different path than when it's issued from a transaction. In the code, this is manifested as some redundancy between do_drive_backup() and drive_backup_prepare(). This change unifies both paths, merging do_drive_back

[PULL 13/13] iscsi: Don't access non-existent scsi_lba_status_descriptor

2020-01-27 Thread Kevin Wolf
In iscsi_co_block_status(), we may have received num_descriptors == 0 from the iscsi server. Therefore, we can't unconditionally access lbas->descriptors[0]. Add the missing check. Signed-off-by: Kevin Wolf Reviewed-by: Felipe Franciosi Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: John Snow

[PULL 10/13] iotests: Test handling of AioContexts with some blockdev actions

2020-01-27 Thread Kevin Wolf
From: Sergio Lopez Includes the following tests: - Adding a dirty bitmap. * RHBZ: 1782175 - Starting a drive-mirror to an NBD-backed target. * RHBZ: 1746217, 1773517 - Aborting an external snapshot transaction. * RHBZ: 1779036 - Aborting a blockdev backup transaction. * RHBZ:

[PULL 08/13] blockdev: Acquire AioContext on dirty bitmap functions

2020-01-27 Thread Kevin Wolf
From: Sergio Lopez Dirty map addition and removal functions are not acquiring to BDS AioContext, while they may call to code that expects it to be acquired. This may trigger a crash with a stack trace like this one: #0 0x7f0ef146370f in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix

[PULL 03/13] blockdev: fix coding style issues in drive_backup_prepare

2020-01-27 Thread Kevin Wolf
From: Sergio Lopez Fix a couple of minor coding style issues in drive_backup_prepare. Signed-off-by: Sergio Lopez Reviewed-by: Max Reitz Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- blockdev.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/blockdev.c b/

[PULL 02/13] iotests: Add more "skip_if_unsupported" statements to the python tests

2020-01-27 Thread Kevin Wolf
From: Thomas Huth The python code already contains a possibility to skip tests if the corresponding driver is not available in the qemu binary - use it in more spots to avoid that the tests are failing if the driver has been disabled. While we're at it, we can now also remove some of the old che

[PULL 01/13] iotests.py: Let wait_migration wait even more

2020-01-27 Thread Kevin Wolf
From: Max Reitz The "migration completed" event may be sent (on the source, to be specific) before the migration is actually completed, so the VM runstate will still be "finish-migrate" instead of "postmigrate". So ask the users of VM.wait_migration() to specify the final runstate they desire an

[PULL 00/13] Block layer patches

2020-01-27 Thread Kevin Wolf
The following changes since commit 105b07f1ba462ec48b27e5cb74ddf81c6a79364c: Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20200127' into staging (2020-01-27 13:02:36 +) are available in the Git repository at: git://repo.or.cz/qemu/kevin.git tags/for-upstream

Re: [PATCH 8/9] monitor: move hmp_info_block* to blockdev-hmp-cmds.c

2020-01-27 Thread Kevin Wolf
Am 27.01.2020 um 14:33 hat Markus Armbruster geschrieben: > Maxim Levitsky writes: > > > On Wed, 2019-11-27 at 09:08 +0100, Markus Armbruster wrote: > >> I think it makes sense to collect *all* block HMP stuff here. > >> > >> Left in monitor/hmp-cmds.c: hmp_eject(), hmp_nbd_server_start(), ... >

Re: [PATCH 8/9] monitor: move hmp_info_block* to blockdev-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
On Mon, 2020-01-27 at 14:33 +0100, Markus Armbruster wrote: > Maxim Levitsky writes: > > > On Wed, 2019-11-27 at 09:08 +0100, Markus Armbruster wrote: > > > I think it makes sense to collect *all* block HMP stuff here. > > > > > > Left in monitor/hmp-cmds.c: hmp_eject(), hmp_nbd_server_start(),

Re: [PATCH 9/9] monitor/hmp: Prefer to use hmp_handle_error for error reporting in block hmp commands

2020-01-27 Thread Maxim Levitsky
On Mon, 2020-01-27 at 14:44 +0100, Markus Armbruster wrote: > Maxim Levitsky writes: > > > On Wed, 2019-11-27 at 09:38 +0100, Markus Armbruster wrote: > > > Title is too long. blockdev-hmp-cmds.c will become > > > block/monitor/block-hmp-cmds.c in v2. With this in mind, suggest > > > > > >

Re: [PATCH 9/9] monitor/hmp: Prefer to use hmp_handle_error for error reporting in block hmp commands

2020-01-27 Thread Markus Armbruster
Maxim Levitsky writes: > On Wed, 2019-11-27 at 09:38 +0100, Markus Armbruster wrote: >> Title is too long. blockdev-hmp-cmds.c will become >> block/monitor/block-hmp-cmds.c in v2. With this in mind, suggest >> >> block/monitor: Prefer to use hmp_handle_error() to report HMP errors >> >> M

Re: [PATCH 8/9] monitor: move hmp_info_block* to blockdev-hmp-cmds.c

2020-01-27 Thread Markus Armbruster
Maxim Levitsky writes: > On Wed, 2019-11-27 at 09:08 +0100, Markus Armbruster wrote: >> I think it makes sense to collect *all* block HMP stuff here. >> >> Left in monitor/hmp-cmds.c: hmp_eject(), hmp_nbd_server_start(), ... >> >> I guess hmp_change() has to stay there, because it's both block

Re: [PATCH v2 4/4] vhost-user-blk: default num_queues to -smp N

2020-01-27 Thread Cornelia Huck
On Fri, 24 Jan 2020 10:01:59 + Stefan Hajnoczi wrote: > Automatically size the number of request virtqueues to match the number > of vCPUs. This ensures that completion interrupts are handled on the > same vCPU that submitted the request. No IPI is necessary to complete > an I/O request and

Re: [PATCH v2 3/4] virtio-blk: default num_queues to -smp N

2020-01-27 Thread Cornelia Huck
On Fri, 24 Jan 2020 10:01:58 + Stefan Hajnoczi wrote: > Automatically size the number of request virtqueues to match the number > of vCPUs. This ensures that completion interrupts are handled on the > same vCPU that submitted the request. No IPI is necessary to complete > an I/O request and

Re: [PATCH v2 2/4] virtio-scsi: default num_queues to -smp N

2020-01-27 Thread Cornelia Huck
On Fri, 24 Jan 2020 10:01:57 + Stefan Hajnoczi wrote: > Automatically size the number of request virtqueues to match the number "If the pci transport is used, ..." ? > of vCPUs. This ensures that completion interrupts are handled on the > same vCPU that submitted the request. No IPI is ne

Re: [PATCH v2 1/4] virtio-scsi: introduce a constant for fixed virtqueues

2020-01-27 Thread Cornelia Huck
On Fri, 24 Jan 2020 10:01:56 + Stefan Hajnoczi wrote: > The event and control virtqueues are always present, regardless of the > multi-queue configuration. Define a constant so that virtqueue number > calculations are easier to read. > > Signed-off-by: Stefan Hajnoczi > --- > hw/scsi/vhos

Re: [PATCH] iotests/279: Fix for non-qcow2 formats

2020-01-27 Thread Thomas Huth
On 19/12/2019 15.42, Max Reitz wrote: > First, driver=qcow2 will not work so well with non-qcow2 formats (and > this test claims to support qcow, qed, and vmdk). > > Second, vmdk will always report the backing file format to be vmdk. > Filter that out so the output looks like for all other formats

Re: [PATCH 9/9] monitor/hmp: Prefer to use hmp_handle_error for error reporting in block hmp commands

2020-01-27 Thread Maxim Levitsky
On Wed, 2019-11-27 at 09:38 +0100, Markus Armbruster wrote: > Title is too long. blockdev-hmp-cmds.c will become > block/monitor/block-hmp-cmds.c in v2. With this in mind, suggest > > block/monitor: Prefer to use hmp_handle_error() to report HMP errors > > Maxim Levitsky writes: > > > Thi

Re: [PATCH 8/9] monitor: move hmp_info_block* to blockdev-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
On Wed, 2019-11-27 at 09:08 +0100, Markus Armbruster wrote: > I think it makes sense to collect *all* block HMP stuff here. > > Left in monitor/hmp-cmds.c: hmp_eject(), hmp_nbd_server_start(), ... > > I guess hmp_change() has to stay there, because it's both block and ui. > > Left in blockdev.c:

Re: [PATCH 4/9] monitor: move hmp_drive_mirror and hmp_drive_backup to blockdev-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
On Wed, 2019-11-27 at 08:22 +0100, Markus Armbruster wrote: > Maxim Levitsky writes: > > > Signed-off-by: Maxim Levitsky > > --- > > blockdev-hmp-cmds.c | 61 + > > monitor/hmp-cmds.c | 58 -- > > 2 files chang

Re: [PATCH 3/9] monitor: move hmp_drive_del and hmp_commit to blockdev-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
On Wed, 2019-11-27 at 08:50 +0100, Markus Armbruster wrote: > Maxim Levitsky writes: > > > Signed-off-by: Maxim Levitsky > > --- > > blockdev-hmp-cmds.c | 97 - > > blockdev.c | 95 > > 2 files cha

Re: [PATCH 5/9] monitor: move hmp_block_job* to blockdev-hmp-cmd.c

2020-01-27 Thread Maxim Levitsky
On Wed, 2019-11-27 at 08:24 +0100, Markus Armbruster wrote: > Maxim Levitsky writes: > > > Signed-off-by: Maxim Levitsky > > --- > > blockdev-hmp-cmds.c | 52 + > > monitor/hmp-cmds.c | 52 - > > 2 files ch

Re: [PATCH 3/9] monitor: move hmp_drive_del and hmp_commit to blockdev-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
On Wed, 2019-11-27 at 08:29 +0100, Markus Armbruster wrote: > Maxim Levitsky writes: > > > Signed-off-by: Maxim Levitsky > > --- > > blockdev-hmp-cmds.c | 97 - > > blockdev.c | 95 > > 2 files cha

Re: [PATCH 1/9] monitor: uninline add_init_drive

2020-01-27 Thread Maxim Levitsky
On Wed, 2019-11-27 at 08:13 +0100, Markus Armbruster wrote: > Maxim Levitsky writes: > > > This is only used by hmp_drive_add. > > The code is just a bit shorter this way. > > > > No functional changes > > > > Signed-off-by: Maxim Levitsky > > --- > > device-hotplug.c | 33 +--

Re: [PATCH v3 00/13] RFC: [for 5.0]: HMP monitor handlers cleanups

2020-01-27 Thread Maxim Levitsky
On Mon, 2020-01-27 at 02:55 -0800, no-re...@patchew.org wrote: > Patchew URL: > https://patchew.org/QEMU/20200127103647.17761-1-mlevi...@redhat.com/ > > > > Hi, > > This series seems to have some coding style problems. See output below for > more information: All of these errors are either fr

Re: [PATCH v3 00/13] RFC: [for 5.0]: HMP monitor handlers cleanups

2020-01-27 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200127103647.17761-1-mlevi...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20200127103647.17761-1-mlevi...@redhat.com Subject: [PATCH v3 00/13] RFC: [for 5.0]: HMP

Re: [PATCH v3 01/13] usb/dev-storage: remove unused include

2020-01-27 Thread Philippe Mathieu-Daudé
On 1/27/20 11:36 AM, Maxim Levitsky wrote: Signed-off-by: Maxim Levitsky --- hw/usb/dev-storage.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c index 8545193488..50d12244ab 100644 --- a/hw/usb/dev-storage.c +++ b/hw/usb/dev-storage.c @@ -19,7 +

[PATCH v3 11/13] monitor: Move hmp_drive_add_node to block-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- block/monitor/block-hmp-cmds.c | 30 blockdev.c | 42 +++--- include/block/block_int.h | 5 ++-- 3 files changed, 41 insertions(+), 36 deletions(-) diff --git a/block/monitor/block-hm

[PATCH v3 13/13] monitor/hmp: Prefer to use hmp_handle_error for error reporting in block hmp commands

2020-01-27 Thread Maxim Levitsky
This way they all will be prefixed with 'Error:' which some parsers (e.g libvirt) need Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1719169 Signed-off-by: Maxim Levitsky --- block/monitor/block-hmp-cmds.c | 35 -- 1 file changed, 21 insertions(+), 14 del

[PATCH v3 08/13] monitor/hmp: move hmp_nbd_server* to block-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- block/monitor/block-hmp-cmds.c | 88 ++ include/block/block-hmp-commands.h | 5 ++ include/monitor/hmp.h | 4 -- monitor/hmp-cmds.c | 87 - 4 files changed, 93 insertions(+

[PATCH v3 09/13] monitor/hmp: move remaining hmp_block* functions to block-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- block/monitor/block-hmp-cmds.c | 138 + include/block/block-hmp-commands.h | 9 ++ include/monitor/hmp.h | 6 -- monitor/hmp-cmds.c | 137 4 files changed, 147 insertion

[PATCH v3 10/13] monitor/hmp: move hmp_info_block* to block-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- block/monitor/block-hmp-cmds.c | 388 + include/block/block-hmp-commands.h | 4 + include/monitor/hmp.h | 4 - monitor/hmp-cmds.c | 388 - 4 files changed, 392 insertions

[PATCH v3 04/13] monitor/hmp: move hmp_drive_del and hmp_commit to block-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- block/monitor/block-hmp-cmds.c | 97 +- blockdev.c | 95 - include/block/block-hmp-commands.h | 3 + include/sysemu/blockdev.h | 4 -- 4 files changed, 99 insertions(+)

[PATCH v3 05/13] monitor/hmp: move hmp_drive_mirror and hmp_drive_backup to block-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- block/monitor/block-hmp-cmds.c | 64 ++ include/block/block-hmp-commands.h | 3 ++ include/monitor/hmp.h | 2 - monitor/hmp-cmds.c | 58 --- 4 files changed, 67 insertions(+),

[PATCH v3 07/13] monitor/hmp: move hmp_snapshot_* to block-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- block/monitor/block-hmp-cmds.c | 47 ++ include/block/block-hmp-commands.h | 4 +++ include/monitor/hmp.h | 3 -- monitor/hmp-cmds.c | 47 -- 4 files changed, 51 insertions

[PATCH v3 00/13] RFC: [for 5.0]: HMP monitor handlers cleanups

2020-01-27 Thread Maxim Levitsky
This patch series is bunch of cleanups to the hmp monitor code. This series only touched blockdev related hmp handlers. No functional changes expected other that light error message changes by the last patch. This was inspired by this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1719169

[PATCH v3 06/13] monitor/hmp: move hmp_block_job* to block-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- block/monitor/block-hmp-cmds.c | 52 ++ include/block/block-hmp-commands.h | 6 include/monitor/hmp.h | 5 --- monitor/hmp-cmds.c | 52 -- 4 files changed, 58 insertio

[PATCH v3 02/13] monitor/hmp: uninline add_init_drive

2020-01-27 Thread Maxim Levitsky
This is only used by hmp_drive_add. The code is just a bit shorter this way. No functional changes Signed-off-by: Maxim Levitsky Reviewed-by: Markus Armbruster --- device-hotplug.c | 31 --- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/device-hotp

[PATCH v3 03/13] monitor/hmp: rename device-hotplug.c to block/monitor/block-hmp-cmds.c

2020-01-27 Thread Maxim Levitsky
These days device-hotplug.c only contains the hmp_drive_add In the next patch, rest of hmp_drive* functions will be moved there. Also change the license of that file to GPL2+ since most of the code that will be moved there is under that license Also add block-hmp-commands.h to contain prototypes

[PATCH v3 01/13] usb/dev-storage: remove unused include

2020-01-27 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- hw/usb/dev-storage.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c index 8545193488..50d12244ab 100644 --- a/hw/usb/dev-storage.c +++ b/hw/usb/dev-storage.c @@ -19,7 +19,6 @@ #include "hw/scsi/scsi.h" #include "u

Re: [PATCH v2 0/4] virtio-pci: enable blk and scsi multi-queue by default

2020-01-27 Thread Stefano Garzarella
On Fri, Jan 24, 2020 at 10:01:55AM +, Stefan Hajnoczi wrote: > v2: > * Let the virtio-DEVICE-pci device select num-queues because the optimal >multi-queue configuration may differ between virtio-pci, virtio-mmio, and >virtio-ccw [Cornelia] > > Enabling multi-queue on virtio-pci storag

Re: [PATCH v2 2/8] hxtool: Support SRST/ERST directives

2020-01-27 Thread Philippe Mathieu-Daudé
On 1/24/20 5:26 PM, Peter Maydell wrote: We want to add support for including rST document fragments in our .hx files, in the same way we currently have texinfo fragments. These will be delimited by SRST and ERST directives, in the same way the texinfo is delimited by STEXI/ETEXI. The rST fragmen