[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] blockdev: reset werror/rerror on drive_del
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH] blockdev: reset werror/rerror on drive_del |
Date: |
Wed, 5 Jun 2013 16:26:13 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, 06/03 16:58, Stefan Hajnoczi wrote:
> Paolo Bonzini <address@hidden> suggested the following test case:
>
> 1. Launch a guest and wait at the GRUB boot menu:
>
> qemu-system-x86_64 -enable-kvm -m 1024 \
> -drive if=none,cache=none,file=test.img,id=foo,werror=stop,rerror=stop
> -device virtio-blk-pci,drive=foo,id=virtio0,addr=4
>
> 2. Hot unplug the device:
>
> (qemu) drive_del foo
>
> 3. Select the first boot menu entry
>
> Without this patch the guest pauses due to ENOMEDIUM. But it is not
> possible to resolve this situation - the drive has become anonymous.
>
> With this patch the guest the guest gets the ENOMEDIUM error.
s/the guest the guest/the guest/
--
Fam
Re: [Qemu-devel] [PATCH] blockdev: reset werror/rerror on drive_del,
Fam Zheng <=