[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 0/4] blockdev: Fix 'change' for slot devices
From: |
Peter Maydell |
Subject: |
Re: [Qemu-block] [PATCH 0/4] blockdev: Fix 'change' for slot devices |
Date: |
Fri, 15 Jan 2016 16:24:19 +0000 |
On 15 January 2016 at 16:10, Peter Maydell <address@hidden> wrote:
> On 12 January 2016 at 15:47, Max Reitz <address@hidden> wrote:
>> The series "BlockBackend and media" intended all block devices with
>> removable media to implement a tray model; if the devices does not have
>> a tray, it should emulate one.
>
> I tried this for the zaurus (spitz) board, and although "change sd0 file"
> now doesn't give an error, it doesn't cause the guest to notice that
> an SD card has been inserted either.
PS: my test image for zaurus is here:
http://people.linaro.org/~peter.maydell/zaurus2.tgz
You can run it with
path/to/zaurus2/runme path/to/qemu-system-arm
which by default will boot up with no SD card inserted, serial console
output to stdout. Using the 'change sd0 somefile' ought to then
make it notice an SD card and print the usual kernel messages.
thanks
-- PMM
- Re: [Qemu-block] [PATCH 1/4] block: Add blk_dev_has_tray(), (continued)