summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-28 18:55:17 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-28 18:55:17 +0000
commitc9b1ae2cfd25e3ad88c6ef61d18eaefd177a5e49 (patch)
tree37610a563a27d54d3cfa57955fa770dc0b8244d6 /vl.c
parentf87fc09b15bb73874b812ab82e96105ef6c7a2ba (diff)
downloadqemu-c9b1ae2cfd25e3ad88c6ef61d18eaefd177a5e49.tar.gz
Add to machine structure a flag to use SCSI drives instead of IDE: fixes SS-20
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5339 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/vl.c b/vl.c
index eeefe592e5..481eb93193 100644
--- a/vl.c
+++ b/vl.c
@@ -5461,12 +5461,7 @@ static int drive_init(struct drive_opt *arg, int snapshot,
index = -1;
cache = 1;
- if (!strcmp(machine->name, "realview") ||
- !strcmp(machine->name, "SS-5") ||
- !strcmp(machine->name, "SS-10") ||
- !strcmp(machine->name, "SS-600MP") ||
- !strcmp(machine->name, "versatilepb") ||
- !strcmp(machine->name, "versatileab")) {
+ if (machine->use_scsi) {
type = IF_SCSI;
max_devs = MAX_SCSI_DEVS;
pstrcpy(devname, sizeof(devname), "scsi");