You are not logged in.

#1 2008-11-22 04:26:09

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Just discovered that QEMU+KVM = Awesome!!

As the title reads, I just compiled QEMU with the newer KVM-78 (not 79 because of my kernel version) and it works great! It's almost native speed with a Windows 2000 guest on Arch64. I had been using the one from [extra] which is compiled with KVM-76 but always with issues with the -std-vga switch for higher res graphics causing crashes.

Now, it all works well and the resolution will go all the way upto 2560x1600 in Windows 2000 without trouble. I'm running ArcGIS on the VM without trouble and even the 3D parts are fast enough to manage fine.

Just a note: if you do switch to KVM-78+ the -std-vga switch has become -vga instead.

Offline

#2 2008-11-23 04:20:27

Jerry
Member
From: Philippines
Registered: 2007-09-14
Posts: 126

Re: Just discovered that QEMU+KVM = Awesome!!

Hi i'm a qemu user here too, i've been waiting for this fix for the screen resolution but I'm having some problems.

I'm on a 64 bit arch build and I used the PKGBUILD on ABS.  I change the _kvmver to 78 but I got this error:

...
gcc-3.4  -m64 -Wl,-T,/home/jerry/devel/abs/qemu/src/qemu-0.9.1/x86_64.ld -g -o qemu vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o block-raw-posix.o lsi53c895a.o usb-ohci.o eeprom93xx.o eepro100.o ne2000.o pcnet.o rtl8139.o ide.o pckbd.o ps2.o vga.o sb16.o es1370.o dma.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o cirrus_vga.o apic.o parallel.o acpi.o piix_pci.o usb-uhci.o vmmouse.o vmport.o vmware_vga.o gdbstub.o ../libqemu_common.a libqemu.a  -lm -lz -lasound -lgnutls   -L/usr/lib -lSDL -lpthread  -lrt -lpthread -lutil
/usr/bin/ld: warning: libdl.so.2, needed by /usr/lib/libasound.so, not found (try using -rpath or -rpath-link)
/usr/lib/libSDL.so: undefined reference to `dlvsym@GLIBC_2.2.5'
/usr/lib/libasound.so: undefined reference to `dlopen@GLIBC_2.2.5'
/usr/lib/libSDL.so: undefined reference to `dlerror@GLIBC_2.2.5'
/usr/lib/libasound.so: undefined reference to `dlclose@GLIBC_2.2.5'
/usr/lib/libasound.so: undefined reference to `dlsym@GLIBC_2.2.5'
/usr/lib/libasound.so: undefined reference to `dladdr@GLIBC_2.2.5'
collect2: ld returned 1 exit status
make[1]: *** [qemu] Error 1
make[1]: Leaving directory `/home/jerry/devel/abs/qemu/src/qemu-0.9.1/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2
==> ERROR: Build Failed.
    Aborting...

Being a good archer I let google be my friend and led me to glibc and grepped it in lib

[jerry@libra][/lib]: ls -la | grep libdl 
-rwxr-xr-x  1 root root   19042 2008-08-29 17:07 libdl-2.8.so
lrwxrwxrwx  1 root root      12 2008-08-29 17:07 libdl.so.2 -> libdl-2.8.so
[jerry@libra][/lib]:

Guess I was stuck on the -rpath stuff that it was asking me to use.  It seems it has something to do to the installation script so i went back to the PKGBUILD and there was an rpath inside the sed but my scripting foo is not that good.  any tips?


Looking at the PKGBUILD again the -rpath, according to the comment, is for SDL.  question still stands though.

Last edited by Jerry (2008-11-23 04:42:41)

Offline

#3 2008-11-23 06:16:14

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Just discovered that QEMU+KVM = Awesome!!

I never got the rpath stuff working so I just made a link named libdl.so.2 in /usr/lib that pointed to libdl.so and it worked. I think that this bug has been filed and so the PKGBUILD will probably be fixed in a future release.

Offline

#4 2008-11-23 15:29:52

Jerry
Member
From: Philippines
Registered: 2007-09-14
Posts: 126

Re: Just discovered that QEMU+KVM = Awesome!!

Ah thanks a lot man!

Offline

#5 2008-11-23 17:52:45

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: Just discovered that QEMU+KVM = Awesome!!

Try virtualbox as well for virtualization. It's IMHO better than qemu (even with KVM).


:?

Offline

#6 2008-12-10 14:51:36

Jerry
Member
From: Philippines
Registered: 2007-09-14
Posts: 126

Re: Just discovered that QEMU+KVM = Awesome!!

VirtualBox was my first virtualization software and I also like it.  The reason I switched to qemu-kvm is for smp support and vde2. I miss the seamless video driver but it was worth losing for vde2.  If you need a GUI then you have qemulator, qemu-launcher, and qtemu as the popular choice.

Offline

Board footer

Powered by FluxBB