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: Gleb Natapov
Subject: Re: [Qemu-devel] [PATCH v2] ahci: add -drive support
Date: Mon, 9 Jul 2012 13:05:11 +0300

On Mon, Jul 09, 2012 at 12:03:49PM +0200, Kevin Wolf wrote:
> 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.
> 
It is not suppose too. q35 is a totally different machine.

--
                        Gleb.



reply via email to

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