[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/2] block: fix BDRV_O_SNAPSHOT with protocol
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/2] block: fix BDRV_O_SNAPSHOT with protocols |
Date: |
Mon, 18 Mar 2013 18:10:52 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 18.03.2013 um 17:58 hat Stefan Hajnoczi geschrieben:
> Richard Jones <address@hidden> reported that BDRV_O_SNAPSHOT does not work
> with NBD:
>
> /usr/bin/qemu-system-x86_64 \
> [...]
> -device virtio-scsi-pci,id=scsi \
> -drive file=nbd:localhost:61930,snapshot=on,format=raw,id=hd0,if=none \
> -device scsi-hd,drive=hd0 \
> [...]
>
> gives the error:
>
> qemu-system-x86_64: -drive
> file=nbd:localhost:61930,snapshot=on,format=raw,id=hd0,if=none: could not
> open disk image nbd:localhost:61930: No such file or directory
>
> This series fixes the issue and adds a regression test, qemu-iotests 052. Run
> the test like this:
>
> $ QEMU_PROG=... PATH=... ./check -nbd 052
>
> If Patch 1 is not applied, the test case fails. Note that the test case is
> also useful with -raw or other formats.
>
> v2:
> * Rebased onto latest qemu.git/master
Thanks, applied all to the block branch.
Kevin