public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Is Qemu dead?
@ 2011-09-28 14:14 Grant Edwards
  2011-09-28 14:26 ` Mark Knecht
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Grant Edwards @ 2011-09-28 14:14 UTC (permalink / raw
  To: gentoo-user

I've been trying to use Qemu to do some test installs of Ubuntu
server.  I've used Qemu successfully in the past, but it seems to have
hit a dead end.  The "stable" version (0.11) of Qemu just plain
doesn't work. There are constant segfaults and kernel panics in the
guest environment.

I updated to the ~x86 version (0.14) -- while the guest OS installs
and runs OK, kernel acceleration (kqemu module) is no longer
supported, and without it Qemu is really slow.  

For now I've switched to VirtualBox, but the console implementation in
VirtualBox is nightmarishly slow. When I do -l looks like it's
scrolling by at about 9600 baud.

Is Qemu dead?  Or just dying?

-- 
Grant Edwards               grant.b.edwards        Yow! What UNIVERSE is this,
                                  at               please??
                              gmail.com            




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Is Qemu dead?
  2011-09-28 14:14 [gentoo-user] Is Qemu dead? Grant Edwards
@ 2011-09-28 14:26 ` Mark Knecht
  2011-09-28 14:27 ` Neil Bothwick
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Mark Knecht @ 2011-09-28 14:26 UTC (permalink / raw
  To: gentoo-user

On Wed, Sep 28, 2011 at 7:14 AM, Grant Edwards
<grant.b.edwards@gmail.com> wrote:
> I've been trying to use Qemu to do some test installs of Ubuntu
> server.  I've used Qemu successfully in the past, but it seems to have
> hit a dead end.  The "stable" version (0.11) of Qemu just plain
> doesn't work. There are constant segfaults and kernel panics in the
> guest environment.
>
> I updated to the ~x86 version (0.14) -- while the guest OS installs
> and runs OK, kernel acceleration (kqemu module) is no longer
> supported, and without it Qemu is really slow.
>
> For now I've switched to VirtualBox, but the console implementation in
> VirtualBox is nightmarishly slow. When I do -l looks like it's
> scrolling by at about 9600 baud.
>
> Is Qemu dead?  Or just dying?
>
> --
> Grant Edwards               grant.b.edwards        Yow! What UNIVERSE is this,
>                                  at               please??
>                              gmail.com
>
>

I don't think it's dead at all. I see those guys interacting with the
KVM developers. I've never used Qemu but I suspect that the kqemu
stuff you're looking for is now what they're doing with KVM which
seems to be a pretty lively project. Qemu is not at 0.15 so it looks
like portage is a bit behind I guess.

HTH,
Mark



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Is Qemu dead?
  2011-09-28 14:14 [gentoo-user] Is Qemu dead? Grant Edwards
  2011-09-28 14:26 ` Mark Knecht
@ 2011-09-28 14:27 ` Neil Bothwick
  2011-09-28 14:42   ` [gentoo-user] " Grant Edwards
  2011-09-28 14:32 ` [gentoo-user] " Paul Hartman
  2011-09-28 14:32 ` [gentoo-user] " Matthew Finkel
  3 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2011-09-28 14:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

On Wed, 28 Sep 2011 14:14:53 +0000 (UTC), Grant Edwards wrote:

> I updated to the ~x86 version (0.14) -- while the guest OS installs
> and runs OK, kernel acceleration (kqemu module) is no longer
> supported, and without it Qemu is really slow.  

If you enable the relevant KVM modules in your kernel you can use
app-emulation/qemu-kvm, which uses in-CPU virtualisation.


-- 
Neil Bothwick

Geordi, show these children the antimatter - Picard

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Is Qemu dead?
  2011-09-28 14:14 [gentoo-user] Is Qemu dead? Grant Edwards
                   ` (2 preceding siblings ...)
  2011-09-28 14:32 ` [gentoo-user] " Paul Hartman
@ 2011-09-28 14:32 ` Matthew Finkel
  3 siblings, 0 replies; 10+ messages in thread
From: Matthew Finkel @ 2011-09-28 14:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]

On Wed, Sep 28, 2011 at 10:14 AM, Grant Edwards
<grant.b.edwards@gmail.com>wrote:

> I've been trying to use Qemu to do some test installs of Ubuntu
> server.  I've used Qemu successfully in the past, but it seems to have
> hit a dead end.  The "stable" version (0.11) of Qemu just plain
> doesn't work. There are constant segfaults and kernel panics in the
> guest environment.
>
> I updated to the ~x86 version (0.14) -- while the guest OS installs
> and runs OK, kernel acceleration (kqemu module) is no longer
> supported, and without it Qemu is really slow.
>
> For now I've switched to VirtualBox, but the console implementation in
> VirtualBox is nightmarishly slow. When I do -l looks like it's
> scrolling by at about 9600 baud.
>
> Is Qemu dead?  Or just dying?
>
> --
> Grant Edwards               grant.b.edwards        Yow! What UNIVERSE is
> this,
>                                  at               please??
>                              gmail.com
>
>
>
I've been using QEMU on, nearly, a daily basis for the last few months. Last
I checked, I believe they're on track for a v1.0 release in November or
December. I, honestly, haven't had many problems with unexpected segfaults
on either Gentoo or Ubuntu, so I can't give any advice for that. As for the
speed issue, have you tried building KVM into the kernel or at least as a
mod?

- Matt

[-- Attachment #2: Type: text/html, Size: 1837 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Is Qemu dead?
  2011-09-28 14:14 [gentoo-user] Is Qemu dead? Grant Edwards
  2011-09-28 14:26 ` Mark Knecht
  2011-09-28 14:27 ` Neil Bothwick
@ 2011-09-28 14:32 ` Paul Hartman
  2011-09-28 14:45   ` [gentoo-user] " Grant Edwards
  2011-09-28 14:32 ` [gentoo-user] " Matthew Finkel
  3 siblings, 1 reply; 10+ messages in thread
From: Paul Hartman @ 2011-09-28 14:32 UTC (permalink / raw
  To: gentoo-user

On Wed, Sep 28, 2011 at 9:14 AM, Grant Edwards
<grant.b.edwards@gmail.com> wrote:
> I've been trying to use Qemu to do some test installs of Ubuntu
> server.  I've used Qemu successfully in the past, but it seems to have
> hit a dead end.  The "stable" version (0.11) of Qemu just plain
> doesn't work. There are constant segfaults and kernel panics in the
> guest environment.

Version 0.11 is more than two years old. I don't use stable Gentoo; is
a 2-year-old version of a frequently-updated package normal in stable,
or is the Qemu in Gentoo in need of some attention?

> I updated to the ~x86 version (0.14) -- while the guest OS installs
> and runs OK, kernel acceleration (kqemu module) is no longer
> supported, and without it Qemu is really slow.

I am not a Qemu user, but I seem to remember reading that the
preferred method for hardware virtualization/acceleration with Qemu
nowadays is KVM.

> For now I've switched to VirtualBox, but the console implementation in
> VirtualBox is nightmarishly slow. When I do -l looks like it's
> scrolling by at about 9600 baud.
>
> Is Qemu dead?  Or just dying?

The latest version (0.15) was released last month and the Qemu-dev
mailing list has a lot of activity (few dozen messages per day), so it
seems alive to me.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: Is Qemu dead?
  2011-09-28 14:27 ` Neil Bothwick
@ 2011-09-28 14:42   ` Grant Edwards
  2011-09-29 17:13     ` Michael Orlitzky
  0 siblings, 1 reply; 10+ messages in thread
From: Grant Edwards @ 2011-09-28 14:42 UTC (permalink / raw
  To: gentoo-user

On 2011-09-28, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 28 Sep 2011 14:14:53 +0000 (UTC), Grant Edwards wrote:
>
>> I updated to the ~x86 version (0.14) -- while the guest OS installs
>> and runs OK, kernel acceleration (kqemu module) is no longer
>> supported, and without it Qemu is really slow.  
>
> If you enable the relevant KVM modules in your kernel you can use
> app-emulation/qemu-kvm, which uses in-CPU virtualisation.

Doh!

I had forgotten there was a seperate kvm-enabled build of Qemu.  I'll
have to give that a try.

-- 
Grant Edwards               grant.b.edwards        Yow! So this is what it
                                  at               feels like to be potato
                              gmail.com            salad




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: Is Qemu dead?
  2011-09-28 14:32 ` [gentoo-user] " Paul Hartman
@ 2011-09-28 14:45   ` Grant Edwards
  0 siblings, 0 replies; 10+ messages in thread
From: Grant Edwards @ 2011-09-28 14:45 UTC (permalink / raw
  To: gentoo-user

On 2011-09-28, Paul Hartman <paul.hartman+gentoo@gmail.com> wrote:
> On Wed, Sep 28, 2011 at 9:14 AM, Grant Edwards
><grant.b.edwards@gmail.com> wrote:
>> I've been trying to use Qemu to do some test installs of Ubuntu
>> server. ?I've used Qemu successfully in the past, but it seems to have
>> hit a dead end. ?The "stable" version (0.11) of Qemu just plain
>> doesn't work. There are constant segfaults and kernel panics in the
>> guest environment.
>
> Version 0.11 is more than two years old. I don't use stable Gentoo;
> is a 2-year-old version of a frequently-updated package normal in
> stable, or is the Qemu in Gentoo in need of some attention?
>
>> I updated to the ~x86 version (0.14) -- while the guest OS installs
>> and runs OK, kernel acceleration (kqemu module) is no longer
>> supported, and without it Qemu is really slow.
>
> I am not a Qemu user, but I seem to remember reading that the
> preferred method for hardware virtualization/acceleration with Qemu
> nowadays is KVM.

Yes, I should have known that.  I had forgotten that kqemu and
qemu-kvm were two completely different things.

>> For now I've switched to VirtualBox, but the console implementation in
>> VirtualBox is nightmarishly slow. When I do -l looks like it's
>> scrolling by at about 9600 baud.
>>
>> Is Qemu dead? ?Or just dying?
>
> The latest version (0.15) was released last month and the Qemu-dev
> mailing list has a lot of activity (few dozen messages per day), so it
> seems alive to me.

That's good to hear.  I've used it extensively in the past for testing
eCos (an embedded RTOS) software on a "PC motherboard" target.  Glad to 
know it's still kicking.

-- 
Grant Edwards               grant.b.edwards        Yow! Not SENSUOUS ... only
                                  at               "FROLICSOME" ... and in
                              gmail.com            need of DENTAL WORK ... in
                                                   PAIN!!!




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: Is Qemu dead?
  2011-09-28 14:42   ` [gentoo-user] " Grant Edwards
@ 2011-09-29 17:13     ` Michael Orlitzky
  2011-09-29 20:07       ` Matthew Finkel
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Orlitzky @ 2011-09-29 17:13 UTC (permalink / raw
  To: gentoo-user

On 09/28/2011 10:42 AM, Grant Edwards wrote:
> 
> Doh!
> 
> I had forgotten there was a seperate kvm-enabled build of Qemu.  I'll
> have to give that a try.
> 

You can use qemu-kvm whether or not you have a kernel/CPU with KVM support:

  $ cat /usr/bin/kvm
  #!/bin/sh
  exec /usr/bin/qemu-system-x86_64 --enable-kvm "$@"



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: Is Qemu dead?
  2011-09-29 17:13     ` Michael Orlitzky
@ 2011-09-29 20:07       ` Matthew Finkel
  2011-09-30  0:56         ` Michael Orlitzky
  0 siblings, 1 reply; 10+ messages in thread
From: Matthew Finkel @ 2011-09-29 20:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

On Thu, Sep 29, 2011 at 1:13 PM, Michael Orlitzky <michael@orlitzky.com>wrote:

> On 09/28/2011 10:42 AM, Grant Edwards wrote:
> >
> > Doh!
> >
> > I had forgotten there was a seperate kvm-enabled build of Qemu.  I'll
> > have to give that a try.
> >
>
> You can use qemu-kvm whether or not you have a kernel/CPU with KVM support:
>
>  $ cat /usr/bin/kvm
>  #!/bin/sh
>  exec /usr/bin/qemu-system-x86_64 --enable-kvm "$@"
>
>
But I was under the impression you can only use -enable-kvm if you have KVM
built into the kernel/load the module.

[-- Attachment #2: Type: text/html, Size: 892 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: Is Qemu dead?
  2011-09-29 20:07       ` Matthew Finkel
@ 2011-09-30  0:56         ` Michael Orlitzky
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Orlitzky @ 2011-09-30  0:56 UTC (permalink / raw
  To: gentoo-user

On 09/29/11 16:07, Matthew Finkel wrote:
> 
>      $ cat /usr/bin/kvm
>      #!/bin/sh
>      exec /usr/bin/qemu-system-x86_64 --enable-kvm "$@"
> 
>  
> But I was under the impression you can only use -enable-kvm if you have
> KVM built into the kernel/load the module.
> 

It will spit out a warning, but work normally (albeit slowly). Anyway,
my point was that the kvm "binary" is just qemu with "--enable-kvm"
passed to it. So, if you want the latest qemu, emerge qemu-kvm, and run
it without the "--enable-kvm".



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-09-30  0:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 14:14 [gentoo-user] Is Qemu dead? Grant Edwards
2011-09-28 14:26 ` Mark Knecht
2011-09-28 14:27 ` Neil Bothwick
2011-09-28 14:42   ` [gentoo-user] " Grant Edwards
2011-09-29 17:13     ` Michael Orlitzky
2011-09-29 20:07       ` Matthew Finkel
2011-09-30  0:56         ` Michael Orlitzky
2011-09-28 14:32 ` [gentoo-user] " Paul Hartman
2011-09-28 14:45   ` [gentoo-user] " Grant Edwards
2011-09-28 14:32 ` [gentoo-user] " Matthew Finkel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox