mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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
This commit is contained in:
parent
f87fc09b15
commit
c9b1ae2cfd
5 changed files with 27 additions and 16 deletions
7
vl.c
7
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue