Re: [Qemu-devel] [PATCH V3] virtio-blk: add default serial id

2012-09-26 Thread Dave Young
Hi, Eric This is in fact same with v1 except the spelling fixes. I switched back to v1 because of your concern about the same id reusing issue. For v1, unplugging 10 times is not likely and insane, so I think we can safely ignore it. Unless qemu-img create some uuid for disk imgs I think the

[Qemu-devel] [PATCH V3] virtio-blk: add default serial id

2012-09-26 Thread Dave Young
For virtio block device, if user does not specify the serial attribute, There will be no serial availabe, this is not convenient for identifying the disk. Doing something similar to ide disks, add a "VD?" default serial number if user does not specify it. Signed-off-by: Dave Young --- hw/vi