[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] w32: Fix access to host devices (regression)
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] w32: Fix access to host devices (regression) |
Date: |
Tue, 3 Sep 2013 11:48:38 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Sep 01, 2013 at 10:59:25PM +0200, Stefan Weil wrote:
> QEMU failed to open host devices like \\.\PhysicalDrive0 (first hard disk)
> since some time (commit 8a79380b8ef1b02d2abd705dd026a18863b09020?).
>
> Those devices use hdev_open which did not use the latest API for options.
> This resulted in a fatal runtime error:
>
> Block protocol 'host_device' doesn't support the option 'filename'
>
> Duplicate code from raw_open to fix this.
>
> Signed-off-by: Stefan Weil <address@hidden>
> ---
>
> This bug was reported by David Brenner.
> It should be fixed in QEMU 1.6 as well.
>
> Stefan
>
> block/raw-win32.c | 36 +++++++++++++++++++++++++++++-------
> 1 file changed, 29 insertions(+), 7 deletions(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan