Skip to contentSkip to conversation

KQemu require Intel VT or AMD-V processors ?

Qemu-devel [email protected] 3 participants 6 messages Nov 13, 2007

lore
Share & tools
lore
#0 lore raw

Question 1) Does KQemu require Intel VT or AMD-V processors ?

Question 2) Qemu runs and XP as guest is working on a Linux FC7 host.

I installed kqemu from sources (kqemu-1.3.0pre11.tar.gz) and it configured/mak/make install without errors.

However, when I e.g. start a VM, I still get the following error:
qemu]# qemu -hda WinXP_Home.img
Could not open '/dev/kqemu' - QEMU acceleration layer not activated

So it seems that devices were never created. there is also no kqemu daemon or anything I can verify kqemu to be running. It is not in processes either.

Maybe I misuunderstand how kqemu works, but usually it should be a daemon if it creates a device '/dev/kqemu' at installation !

Any Ideas where I got the cat by the tail?

#1 lore raw
Quoted 11 lines · [email protected] wrote:

Question 1) Does KQemu require Intel VT or AMD-V processors ?

Question 2) Qemu runs and XP as guest is working on a Linux FC7 host.

I installed kqemu from sources (kqemu-1.3.0pre11.tar.gz) and it configured/mak/make install without errors.

However, when I e.g. start a VM, I still get the following error:
qemu]# qemu -hda WinXP_Home.img
Could not open '/dev/kqemu' - QEMU acceleration layer not activated

Quoted 9 lines

So it seems that devices were never created. there is also no kqemu daemon or anything I can verify kqemu to be running. It is not in processes either.

Maybe I misuunderstand how kqemu works, but usually it should be a daemon if it creates a device '/dev/kqemu' at installation !

Any Ideas where I got the cat by the tail?

KQEMU is a kernel module. You'll need to do

/sbin/modprobe kqemu

(as root) before you start QEMU. Then the warning will go away and QEMU will be accelerated.

Regards,
Jan Jezabek

#2 lore raw

Ok I see what went wrong.
I accidentally had a XEN kernel still running so insmod did not work. Now it works and the message disappeared.

But, kqemu is not much faster than qemu. I perceive about 1.5x over a 1gbit network to a terminal through an x session. It is much much slower than win4lin, but it is free and
I can live with it under most applications except streaming.
Is there something I could have done wrong?

Server: Dual Opteron 1.6Ghz/16G SUN V20Z
Terminal: Mac Mini 1.6GHz
Connected with 1Gbit network.

Quoted 35 lines · Jan Jezabek
Quoted 11 lines · [email protected] wrote:

Question 1) Does KQemu require Intel VT or AMD-V processors ?

Question 2) Qemu runs and XP as guest is working on a Linux FC7 host.

I installed kqemu from sources (kqemu-1.3.0pre11.tar.gz) and it configured/mak/make install without errors.

However, when I e.g. start a VM, I still get the following error:
qemu]# qemu -hda WinXP_Home.img
Could not open '/dev/kqemu' - QEMU acceleration layer not activated

Quoted 9 lines

So it seems that devices were never created. there is also no kqemu daemon or anything I can verify kqemu to be running. It is not in processes either.

Maybe I misuunderstand how kqemu works, but usually it should be a daemon if it creates a device '/dev/kqemu' at installation !

Any Ideas where I got the cat by the tail?

KQEMU is a kernel module. You'll need to do

/sbin/modprobe kqemu

(as root) before you start QEMU. Then the warning will go away and QEMU will be accelerated.

Regards,
Jan Jezabek

#3 lore raw
Quoted 9 lines · On Tuesday 13 November 2007 02:42:49 pm [email protected] wrote:

Ok I see what went wrong.
I accidentally had a XEN kernel still running so insmod did not work. Now it works and the message disappeared.

But, kqemu is not much faster than qemu. I perceive about 1.5x over a 1gbit network to a terminal through an x session.
It is much much slower than win4lin, but it is free and
I can live with it under most applications except streaming. Is there something I could have done wrong?

not necessarily wrong, but try qemu with the -kernel-kqemu command line option - ie, qemu -kernel-kqemu -hda WinXP_Home.img

Quoted 36 lines

Server: Dual Opteron 1.6Ghz/16G SUN V20Z
Terminal: Mac Mini 1.6GHz
Connected with 1Gbit network.

Quoted 30 lines · Jan Jezabek
Quoted 11 lines · [email protected] wrote:

Question 1) Does KQemu require Intel VT or AMD-V processors ?

Question 2) Qemu runs and XP as guest is working on a Linux FC7 host.

I installed kqemu from sources (kqemu-1.3.0pre11.tar.gz) and it configured/mak/make install without errors.

However, when I e.g. start a VM, I still get the following error:
qemu]# qemu -hda WinXP_Home.img
Could not open '/dev/kqemu' - QEMU acceleration layer not activated

Quoted 8 lines

So it seems that devices were never created. there is also no kqemu daemon or anything I can verify kqemu to be running.
It is not in processes either.

Maybe I misuunderstand how kqemu works, but usually it should be a daemon if it creates a device '/dev/kqemu' at installation !

Any Ideas where I got the cat by the tail?

KQEMU is a kernel module. You'll need to do

/sbin/modprobe kqemu

(as root) before you start QEMU. Then the warning will go away and QEMU will be accelerated.

Regards,
Jan Jezabek

#4 lore raw

Hi Rick, I did that
 $]qemu -hda WinXP_Home.img  -kernel-kqemu -net nic,model=rtl8139 -net user  -cdrom software.iso Still the same.
Maybe the Macs do not reneder fast enough but I doubt it.

It is no sweat really, it is usable for one BIG reason.
Since Win4Lin does not support ntdll.dll newdev.dll etc  it just dont work with custom device drivers. Qemu has no problems and custom drivers works great which was a surprise.
Win4Lin has blazing speed, but Vmware is not much faster than qemu anyway, so it is unfair for me to critisize.

Rick Vernam wrote: On Tuesday 13 November 2007 02:42:49 pm [email protected] wrote: Ok I see what went wrong. I accidentally had a XEN kernel still running so insmod did not work. Now it works and the message disappeared. But, kqemu is not much faster than qemu. I perceive about 1.5x over a 1gbit network to a terminal through an x session. It is much much slower than win4lin, but it is free and I can live with it under most applications except streaming. Is there something I could have done wrong?

#5 lore raw

[Qemu-devel] qemu & samba

In reply to [email protected]

This should be my last post, thanks all for the kind help until users-group is active again.

I have samba servers running and they work as other windows clients use them, but qemu/kqemu seemingly do not support samba.
I can remeber something along those lines in Howtos read quite a while ago, but I read manuals for about 5 VM's so it might have been for Xen or something else.

Question: Is there a way to get samba working or must I resign to use Cygwin/ssh for all file transfers to the Linux NFS volumes? or
Is there any other way to access nfs volumes without reverting to sftp/ssh clients like gftp et al?