[Qemu-devel] [PATCH v3 4/4] block/qapi: Emit tray_open only if there is a tray

2016-01-22 Thread Max Reitz
Signed-off-by: Max Reitz Reviewed-by: Eric Blake Reviewed-by: Alberto Garcia --- block/qapi.c | 2 +- qapi/block-core.json | 4 ++-- tests/qemu-iotests/067.out | 4 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/block/qapi.c b/block/qapi.c index a49c118.

[Qemu-devel] [PATCH v3 3/4] Revert "hw/block/fdc: Implement tray status"

2016-01-22 Thread Max Reitz
This reverts the changes that commit 2e1280e8ff95b3145bc6262accc9d447718e5318 applied to hw/block/fdc.c. That commit changed tests/fdc-test.c, too, because after it, one less TRAY_MOVED event would be emitted when executing 'change' on an empty drive. However, now, no TRAY_MOVED events will be emi

[Qemu-devel] [PATCH v3 2/4] blockdev: Fix 'change' for slot devices

2016-01-22 Thread Max Reitz
'change' and related operations did not work when used on guest devices featuring removable media but no actual tray, because blk_dev_is_tray_open() always returned false for them and the blockdev-{insert,remove}-medium commands required it to return true. Fix this by making blockdev-{insert,remov

Re: [Qemu-devel] [PATCH v7 01/15] block: Add "file" output parameter to block status query functions

2016-01-22 Thread Max Reitz
On 22.01.2016 04:06, Fam Zheng wrote: > The added parameter can be used to return the BDS pointer which the > valid offset is referring to. Its value should be ignored unless > BDRV_BLOCK_OFFSET_VALID in ret is set. > > Until block drivers fill in the right value, let's clear it explicitly > right

Re: [Qemu-devel] [PATCH v7 15/15] iotests: Add "qemu-img map" test for VMDK extents

2016-01-22 Thread Max Reitz
On 22.01.2016 04:06, Fam Zheng wrote: > Reviewed-by: Eric Blake > Reviewed-by: Stefan Hajnoczi > Signed-off-by: Fam Zheng > --- > tests/qemu-iotests/059 | 10 ++ > tests/qemu-iotests/059.out | 38 ++ > 2 files changed, 48 insertions(+) > > diff -

[Qemu-devel] [PATCH] cuda.c: return error for unknown commands

2016-01-22 Thread Alyssa Milburn
This avoids MacsBug hanging at startup in the absence of ADB mouse input, by replying with an error (which is also what MOL does) when it sends an unknown command (0x1c). Signed-off-by: Alyssa Milburn --- hw/misc/macio/cuda.c | 5 + 1 file changed, 5 insertions(+) diff --git a/hw/misc/macio

Re: [Qemu-devel] [PATCH v2] arm64: kernel: fix architected PMU registers unconditional access

2016-01-22 Thread Guenter Roeck
On 01/13/2016 06:50 AM, Lorenzo Pieralisi wrote: The Performance Monitors extension is an optional feature of the AArch64 architecture, therefore, in order to access Performance Monitors registers safely, the kernel should detect the architected PMU unit presence through the ID_AA64DFR0_EL1 regis

<    1   2   3