[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Is this an invalid combination?
From: |
Bruce Rogers |
Subject: |
Re: [Qemu-devel] Is this an invalid combination? |
Date: |
Tue, 15 Feb 2011 13:28:44 -0700 |
>>> On 2/15/2011 at 01:21 PM, Anthony Liguori <address@hidden> wrote:
> On 02/15/2011 02:07 PM, Bruce Rogers wrote:
>> Hi,
>>
>> We just noticed an issue flagged by a libvirt based test. This same command
> line didn't used to fail, and I wanted to be sure that this is behaving as
> intended.
>>
>> When the following command line is used on the current qemu version:
>>
>> x86_64-softmmu/qemu-system-x86_64 -kernel /boot/vmlinuz -drive
> file=~/disk0.raw,if=none,id=foo,boot=on -device virtio-blk-pci,drive=foo
>>
>> We get the following error reported:
>> Two devices with same boot index 0
>>
>> Previous versions of qemu did not flag this as an error condition.
>>
>
> Upstream QEMU does not have a boolean boot flag although I guess we
> ignore it in -drive which sucks :-/
>
> In upstream QEMU, the BIOS can boot just fine from a virtio device.
> What you're seeing is that we've apparently overloaded the boot flag in
> upstream qemu to mean boot index.
>
> Gleb, what's the right invocation here?
>
> Regards,
>
> ANthony Liguori
>
>> I can see that we are indicating two different boot sources here, so I would
> guess the command line is invalid, but wanted to be sure.
>>
>> Bruce
>>
>>
>>
Yeah, I should have pointed out that this was using qemu-kvm.
Bruce