]> git.proxmox.com Git - qemu.git/commit - blockdev.h
blockdev: Don't limit DriveInfo serial to 20 characters
authorMarkus Armbruster <armbru@redhat.com>
Wed, 11 Jul 2012 13:08:38 +0000 (15:08 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 17 Jul 2012 14:48:32 +0000 (16:48 +0200)
commit577d0a38070d1d6c4c7fab5c2054380770b1ec6b
tree7769c027534444446c62113c40f2392b8e79e111
parent911525dba9ecc21f97b05c0f09bf9319a9de3a7d
blockdev: Don't limit DriveInfo serial to 20 characters

All current users (IDE, SCSI and virtio-blk) happen to share this 20
characters limit.  Still, it should be left to device models.  They
already enforce their limits.  They have to, as the DriveInfo limit
only affects legacy -drive serial=..., not the qdev properties.

usb-storage, which doesn't limit serial number length, also uses
DriveInfo for -usbdevice.  But that doesn't provide access to
DriveInfo serial.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
blockdev.h
hw/block-common.c
hw/ide/core.c