qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Are -cdrom/-hda (or -drive if=ide) supposed to work in


From: Michael Tokarev
Subject: Re: [Qemu-devel] Are -cdrom/-hda (or -drive if=ide) supposed to work in q35?
Date: Tue, 10 Jun 2014 12:10:04 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0

10.06.2014 10:34, Paolo Bonzini wrote:
> Il 10/06/2014 08:30, Michael Tokarev ha scritto:
>> Hello.
>>
>> The question is: are the drive shortcuts - -cdrom, -hda, -hdb etc -
>> supposed to work in -machine q35 too?  Or are they merely ignored?
>>
>>   qemu-system-x86_64 -machine q35 -cdrom foo.img
[]
> It should work.  I remember some complications due to AHCI not having slaves, 
> but it is a bug.

It looks like the "short" -drive if=ide option does not connect the
created drive to any bus at all.  With the above command, or with
-drive if=ide,index=*,bus=*, info qtree does not show the drive at
all.  While -drive if=none,id=X -device ide-cd,drive=X connects the
drive to the right bus just fine.

Again, should this drive be visible in qtree?  At least with -M pc,
similarly added devices are shown properly there.

Thanks,

/mjt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]