diff options
author | Kevin Wolf | 2018-06-13 11:01:30 +0200 |
---|---|---|
committer | Kevin Wolf | 2018-06-15 14:49:44 +0200 |
commit | b0083267444a5e0f28391f6c2831a539f878d424 (patch) | |
tree | 3d2f1c53735e12ef07c8b49c4319901547d440f1 /hw/ide/qdev.c | |
parent | block: Remove deprecated -drive option addr (diff) | |
download | qemu-b0083267444a5e0f28391f6c2831a539f878d424.tar.gz qemu-b0083267444a5e0f28391f6c2831a539f878d424.tar.xz qemu-b0083267444a5e0f28391f6c2831a539f878d424.zip |
block: Remove deprecated -drive option serial
The -drive option serial was deprecated in QEMU 2.10. It's time to
remove it.
Tests need to be updated to set the serial number with -global instead
of using the -drive option.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'hw/ide/qdev.c')
-rw-r--r-- | hw/ide/qdev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ide/qdev.c b/hw/ide/qdev.c index f395d24592..573b022e1e 100644 --- a/hw/ide/qdev.c +++ b/hw/ide/qdev.c @@ -188,7 +188,6 @@ static void ide_dev_initfn(IDEDevice *dev, IDEDriveKind kind, Error **errp) return; } - blkconf_serial(&dev->conf, &dev->serial); if (kind != IDE_CD) { if (!blkconf_geometry(&dev->conf, &dev->chs_trans, 65535, 16, 255, errp)) { |