From 1454509726719e0933c800fad00d6999752688ea Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Tue, 20 Feb 2018 11:42:37 +0100 Subject: scsi: Remove automatic creation of SCSI controllers with -drive if=scsi Automatic creation of SCSI controllers for "-drive if=scsi" for x86 machines was quite a bad idea (see description of commit f778a82f0c179 for details). This is marked as deprecated since QEMU v2.9.0, and as far as I know, nobody complained that this is still urgently required anymore. Time to remove this now. Suggested-by: Markus Armbruster Signed-off-by: Thomas Huth Message-Id: <1519123357-13225-1-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini --- vl.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index a92f60c8b7..6e4f1a2de2 100644 --- a/vl.c +++ b/vl.c @@ -4621,15 +4621,6 @@ int main(int argc, char **argv, char **envp) rom_reset_order_override(); - /* - * Create frontends for -drive if=scsi leftovers. - * Normally, frontends for -drive get created by machine - * initialization for onboard SCSI HBAs. However, we create a few - * more ever since SCSI qdevification, but this is pretty much an - * implementation accident, and deprecated. - */ - scsi_legacy_handle_cmdline(); - /* Did we create any drives that we failed to create a device for? */ drive_check_orphaned(); -- cgit v1.2.1