You are not logged in.

#1 2013-03-05 13:53:40

Morn
Member
Registered: 2012-09-02
Posts: 886

[SOLVED] After qemu update: Qtemu broken

After today's qemu update, the GUI frontend qtemu no longer works for me. (As in, you click on the Start button and nothing happens.)

I've added myself to the kvm group, and I've tried changing the qemu binary name from "qemu" to "qemu-x86_64" in the qtemu prefs, but it still refuses to run.

Last edited by Morn (2013-03-09 16:17:53)

Offline

#2 2013-03-05 14:06:07

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: [SOLVED] After qemu update: Qtemu broken

The new binary name is "qemu-system-x86_64".


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#3 2013-03-05 20:19:32

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] After qemu update: Qtemu broken

Thanks, skanky. That binary works indeed.

Unfortunately qemu performance is a bit sluggish now compared to before the update. (Maybe it's not using KVM anymore?)

This package is starting to look like a downgrade candidate…

Offline

#4 2013-03-05 20:34:26

jordz
Member
Registered: 2006-02-01
Posts: 250

Re: [SOLVED] After qemu update: Qtemu broken

Morn wrote:

Thanks, skanky. That binary works indeed.

Unfortunately qemu performance is a bit sluggish now compared to before the update. (Maybe it's not using KVM anymore?)

This package is starting to look like a downgrade candidate…

You need to use

-enable-kvm

for kvm

Offline

#5 2013-03-05 21:16:04

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] After qemu update: Qtemu broken

jordz wrote:

You need to use

-enable-kvm

for kvm

If I add that flag after qemu-system-x86_64 in the QtEmu preferences, nothing happens when I try to start the virtual system. No error messages in the terminal either, so it's hard to figure out what goes wrong. I can successfully start qemu that way from a terminal, but QtEmu does not seem to like it.

Offline

#6 2013-03-09 12:55:42

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] After qemu update: Qtemu broken

Morn wrote:
jordz wrote:

You need to use

-enable-kvm

for kvm

If I add that flag after qemu-system-x86_64 in the QtEmu preferences, nothing happens when I try to start the virtual system. No error messages in the terminal either, so it's hard to figure out what goes wrong. I can successfully start qemu that way from a terminal, but QtEmu does not seem to like it.

so why did you mark it solved?
I have the same problem - it's not solved - can't start with kvm

Offline

#7 2013-03-09 13:13:21

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] After qemu update: Qtemu broken

capoeira wrote:

so why did you mark it solved?
I have the same problem - it's not solved - can't start with kvm

Well, it looked like I was the only one using qemu via QtEmu on this board, so it seemed a bit pointless to continue the thread. But if you find it helpful, I'll gladly revert the thread title.

Offline

#8 2013-03-09 13:23:10

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] After qemu update: Qtemu broken

Morn wrote:
jordz wrote:

You need to use

-enable-kvm

for kvm

If I add that flag after qemu-system-x86_64 in the QtEmu preferences, nothing happens when I try to start the virtual system. No error messages in the terminal either, so it's hard to figure out what goes wrong. I can successfully start qemu that way from a terminal, but QtEmu does not seem to like it.

I found it out; don't do it like this
you have to add the flag in the main window clicking on "others" in the field "additional options of Qemu"

Offline

#9 2013-03-09 16:17:34

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] After qemu update: Qtemu broken

Excellent, it works!

Having to do this for every virtual machine separately is a bit annoying though. Hopefully QtEmu will introduce a global setting for this in a future version.

Offline

#10 2013-03-09 16:37:33

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] After qemu update: Qtemu broken

Morn wrote:

Excellent, it works!

Having to do this for every virtual machine separately is a bit annoying though. Hopefully QtEmu will introduce a global setting for this in a future version.

does your network work in the host? I get no connection on my XP-host. made a new topic

Offline

#11 2013-03-09 16:55:23

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] After qemu update: Qtemu broken

Network access seems to be fine (tested with OpenIndiana and Debian). Mint 14 did not start for me on the first attempt though.

Offline

#12 2013-03-09 16:57:23

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] After qemu update: Qtemu broken

Morn wrote:

Network access seems to be fine (tested with OpenIndiana and Debian). Mint 14 did not start for me on the first attempt though.

I forgot "-net user", now it works

Offline

#13 2013-03-09 20:45:46

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: [SOLVED] After qemu update: Qtemu broken

Morn wrote:

Excellent, it works!

Having to do this for every virtual machine separately is a bit annoying though. Hopefully QtEmu will introduce a global setting for this in a future version.

I don't use Qtemu, but have a script that does the standard qemu launch and call that with each vm's specifics. Anyhow, could you not wrap the binary with a script that does -enable-kvm (etc.) and just specify that in the qtemu settings?


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#14 2013-03-10 09:48:16

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] After qemu update: Qtemu broken

skanky wrote:
Morn wrote:

Excellent, it works!

Having to do this for every virtual machine separately is a bit annoying though. Hopefully QtEmu will introduce a global setting for this in a future version.

I don't use Qtemu, but have a script that does the standard qemu launch and call that with each vm's specifics. Anyhow, could you not wrap the binary with a script that does -enable-kvm (etc.) and just specify that in the qtemu settings?

I tried that:

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

Looking at that script now, I notice I messed up the shell path. Should have been /usr/bin/bash or /bin/sh. Oops. There was no error message from QtEmu about the missing shell, so I did not catch that mistake until now. Oh well… smile

QtEmu is actually rather nice when you frequently create new VMs. I don't want to write a script for every throwaway VM test setup that only exists for a few hours. So I'm glad QtEmu works again.

Offline

Board footer

Powered by FluxBB