q35/ahci: Pick up -cdrom and -hda options
commitd93162e13c1f4a5b2a4de6b1997f32e3fca19e67
authorJohn Snow <jsnow@redhat.com>
Wed, 1 Oct 2014 18:19:29 +0000 (1 14:19 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 3 Oct 2014 09:30:33 +0000 (3 10:30 +0100)
tree3bb2be8ec459973206fac52c424745b58598209f
parent6b9e03a4e7598765a6cebb7618f2eeb22e928f6e
q35/ahci: Pick up -cdrom and -hda options

This patch implements the backend for the Q35 board
for us to be able to pick up and use drives defined
by the -cdrom, -hda, or -drive if=ide shorthand options.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 1412187569-23452-7-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/i386/pc_q35.c
hw/ide/ahci.c
hw/ide/ahci.h