Block format 'raw' does not support the option 'serial'
Hello,
I tried to run my VM with qemu git and I am greeted with:
Block format 'raw' does not support the option 'serial'
Is there any sensible reason to *not^ support disk serial number?
Thanks
Michal
Quoted 7 lines · Michal Suchánek
Hello,
I tried to run my VM with qemu git and I am greeted with:
Block format 'raw' does not support the option 'serial'
Is there any sensible reason to *not^ support disk serial number?
The 'serial' property on -drive was deprecated in QEMU 2.10, and deleted in 3.1, as it is not a property that makes sense for the backend.
It should be set on the virtual device instead via the -device arg
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 5 lines · On Mon, 19 Nov 2018 14:20:59 +0000 Daniel P. Berrangé <[email protected]>…
Quoted 4 lines · Michal Suchánek
Hello,
I tried to run my VM with qemu git and I am greeted with:
Quoted 8 lines
Quoted 3 lines
Block format 'raw' does not support the option 'serial'
Is there any sensible reason to *not^ support disk serial number?
The 'serial' property on -drive was deprecated in QEMU 2.10, and deleted in 3.1, as it is not a property that makes sense for the backend.
It should be set on the virtual device instead via the -device arg
Is this documented anywhere?
Looking at the man page I only see serial property on smbios.
Thanks
Michal
Quoted 12 lines · Michal Suchánek
Quoted 9 lines · On Mon, 19 Nov 2018 14:20:59 +0000 Daniel P. Berrangé <[email protected]>…
Quoted 7 lines · Michal Suchánek
Hello,
I tried to run my VM with qemu git and I am greeted with:
Block format 'raw' does not support the option 'serial'
Is there any sensible reason to *not^ support disk serial number?
Quoted 8 lines
Quoted 4 lines
The 'serial' property on -drive was deprecated in QEMU 2.10, and deleted in 3.1, as it is not a property that makes sense for the backend.
It should be set on the virtual device instead via the -device arg
Is this documented anywhere?
Looking at the man page I only see serial property on smbios.
The original deprecation was listed in the qemu man page / online user guide, but this documentation gets deleted once the feature is actually removed.
This wouldn't be so bad if we actually published versioned copies of the qemu manual online, but we just overwrite the manual each time there is a new release, so we've no historical record of deprecations.
Thirdly the -device properties are not documented at all - you just have to look for them live with eg '$QEMU -device virtio-blk,help'
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|