Skip to contentSkip to conversation

Kqemu charged?

Qemu-devel Marc Collin 5 participants 7 messages May 8, 2005

lore
Share & tools
lore
#0 lore raw

hi

i do:
modprobe kqemu

with /sbin/lsmod | grep kqemu
kqemu 43272 0

does kqemu run corretely?
l'm not suppose to get 2?

thanks

Signature · 1 line
www.laboiteaprog.com
#1 lore raw

Unless you have 2 instances of QEMU running, no, you're not supposed to.

2005/5/8, Marc Collin <[email protected]>:

Quoted 13 lines

hi

i do:
modprobe kqemu

with /sbin/lsmod | grep kqemu
kqemu 43272 0

does kqemu run corretely?
l'm not suppose to get 2?

thanks

#2 lore raw

Le 8 Mai 2005 17:00, André Braga a écrit :

Quoted 2 lines

Unless you have 2 instances of QEMU running, no, you're not supposed to.

0 means kqemu is ok?

Signature · 1 line
www.laboiteaprog.com
#3 lore raw
Quoted 9 lines · Marc Collin
Quoted 3 lines · André Braga

Unless you have 2 instances of QEMU running, no, you're not supposed to.

0 means kqemu is ok?

I don't think so. The way I see it, when I'm running _one_ instance of QEMU, lsmod lists:

kqemu 43428 2

When I run QEMU with the '-no-kqemu' option lsmod lists:

kqemu 43428 0

Struan

#4 lore raw
Quoted 3 lines · Struan Bartlett

When I run QEMU with the '-no-kqemu' option lsmod lists:

kqemu                  43428  0

The zero represents the number of processes currently using the module. You will also get zero if no instance of Qemu is currently running.

-jm

#5 lore raw
In reply to Struan Bartlett

Le 8 Mai 2005 18:40, Struan Bartlett a écrit :

Quoted 9 lines
Quoted 4 lines · Marc Collin
Quoted 1 line · André Braga

Unless you have 2 instances of QEMU running, no, you're not supposed to.

0 means kqemu is ok?

I don't think so. The way I see it, when I'm running _one_ instance of QEMU, lsmod lists:

Quoted 10 lines

kqemu 43428 2

When I run QEMU with the '-no-kqemu' option lsmod lists:

kqemu 43428 0

Struan

i use suse 9.3 with kernel: 2.6.11.4 maybe kqemu don't support it?

Signature · 1 line
www.laboiteaprog.com
#6 lore raw
In reply to Marc Collin
Quoted 10 lines · Marc Collin

hi

i do:
modprobe kqemu

with /sbin/lsmod | grep kqemu
kqemu 43272 0

does kqemu run corretely?
l'm not suppose to get 2?

Yes you are if :
* one instance of qemu is running
* this instance was started after kqemu was loaded
* /dev/kqemu is there and has correct permissions for the account you're
currently logged in (it might have disappeared because of udev...)

0 means the module is not currently used (no /dev/kqemu ?)

To be on the safe side with kqemu, you can add the following line to your /etc/modprobe.conf (or whatever similar file for your distro) :
alias char-major-250 kqemu
The device file itself can be created in a very simple initscript...

BTW, qemu complains if it was compiled with kqemu support and can't use it for some reason ("Could not open '/dev/kqemu' - QEMU acceleration layer not activated").

Cheers,
Thibaut