[oi-dev] 1479 Qemu delivered by pkg:/system/qemu/kvm is broken
Andrzej Szeszo
aszeszo at gmail.com
Thu Sep 8 15:42:52 UTC 2011
Hi Garrett
I propose the change to workaround the problem for now to make qemu-kvm
more usable. It is not a proper fix I agree.
Without --enable-debug, CentOS 6 ISO fails to uncompress initial ramdisk
and kernel is unable to find root device because of that . Illumos
guests get stuck at boot and are not usable at all. Ubuntu guests seem
to be fine.
With --enable-debug CentOS and Illumos guests run fine.
--enable-debug seems to be set by default by Joyent's build.sh sript
used to build Qemu.
We can wait for a proper fix I guess. Robert Mustacchi from Joyent is
looking at the problem already.
In the mean time though qemu-kvm from the repo will have limited use.
Andrzej
On 08/09/2011 16:15, Garrett D'Amore wrote:
> This feels like a hack rather than a fix. And a poor one at that. The upstream bug indicates that the upstream have no such problems, and the failure seen is indicative of a failure to find the boot device in the guest. I recommend further investigation.
>
> - Garrett
>
> On Sep 8, 2011, at 7:28 AM, Andrzej Szeszo wrote:
>
>> I propose the change below to workaround https://www.illumos.org/issues/1479
>>
>> diff --git a/components/qemu-kvm/Makefile b/components/qemu-kvm/Makefile
>> --- a/components/qemu-kvm/Makefile
>> +++ b/components/qemu-kvm/Makefile
>> @@ -46,6 +46,7 @@
>> CONFIGURE_OPTIONS += --disable-kvm-device-assignment
>> CONFIGURE_OPTIONS += --enable-trace-backend=dtrace
>> CONFIGURE_OPTIONS += --target-list="i386-softmmu x86_64-softmmu"
>> +CONFIGURE_OPTIONS += --enable-debug
>>
>> COMPONENT_BUILD_ENV += PATH=$(PATH):/usr/sbin
>>
>> Andrzej
>>
>>
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> http://openindiana.org/mailman/listinfo/oi-dev
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
More information about the oi-dev
mailing list