qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] ahci: add -drive support


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v2] ahci: add -drive support
Date: Mon, 09 Jul 2012 12:03:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

Am 09.07.2012 12:02, schrieb Gleb Natapov:
> On Mon, Jul 09, 2012 at 11:52:32AM +0200, Kevin Wolf wrote:
>>> If -hda has the semantics of "create an IDE device", then no, we can't 
>>> change it. It doesn't however. IIRC on -M pseries -hda creates SCSI 
>>> devices. On s390 -hda creates virtio devices. So if on -M q35 -hda would 
>>> create if=ahci, I don't see how that breaks the CLI.
>>
>> It doesn't per se, that is as long as you need to explicitly specify -M
>> q35. But then changing the default machine from the existing pc to q35
>> would break the command line.
>>
> Would break it how?

A guest that has an IDE driver, but not an AHCI one can be started with
'qemu -hda foo.img' today. After changing the default to a q35 machine
type which uses AHCI by default, this guest wouldn't boot any more with
the same command line.

Kevin



reply via email to

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