Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2013 19:58:38 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: qemu-devel - no kvm accelerator
Message-ID:  <20130903175838.GA11984@triton8.kn-bremen.de>
In-Reply-To: <1378133332544-5841054.post@n5.nabble.com>
References:  <1378133332544-5841054.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 02, 2013 at 07:48:52AM -0700, Beeblebrox wrote:
> I'm trying to use Windows XP under qemu-system-x86_64. Windows XP is
> installed on an image file, starts up, but is very slow and mouse is jumpy
> after "mouse grab" (ctrl+alt+g).  I have set and enabled everything as
> instructed here: https://wiki.freebsd.org/qemu and here (although similar,
> has better instructions):
> http://taer-naguur.blogspot.com/2013...ebsd-host.html. I start qemu as
> advised in 2nd link by:
> $ qemu-system-x86_64 -enable-kvm -kernel-kqemu -m 1024 -vga std -soundhw all
> -net nic,model=rtl8139 -net tap,name=tap0,script=no -hda /home/vm/windows_xp
> -boot c -localtime
> ==> qemu-system-x86_64: -kernel-kqemu: invalid option
> 
kqemu is only available in the old version 0.11 i.e. emulators/qemu,
but in general kqemu is slower and less stable than using
emulators/virtualbox-ose for x86/x64 guests.

> Removing the kernel-kqemu part and retrying gives a new problem ==>
> KVM not supported for this target
> "kvm" accelerator does not exist.
> No accelerator found!
> 
 ..and the kvm port was never finished, hence the recommendation to use
vbox instead.

> Removing this part (enable-kvm) and starting by
> $ qemu-system-x86_64 -m 1024 -vga std -soundhw all -net nic,model=rtl8139
> -net tap,name=tap0,script=no -hda /home/vm/windows_xp -boot c -localtime
> ==> Assertion failed: (pio->offset >= off_last), function portio_list_add,
> file /asp/obj/asp/git/ports/emulators/qemu-devel/work/qemu-1.6.0/ioport.c,
> line 240.   Abort (core dumped)
> 
 Not sure what's up with that, we'd need a backtrace...  Or try
changing options one by one to see what triggers it.

> Starting qemu as advised in the first link by
> $ qemu-system-x86_64 -net nic,model=e1000 -net tap,name=tap0,script=no -hda
> /home/vm/winxp.img
> results in the very slow Windows XP emulation described above. kldstat shows
> kqemu, aio and if_tap as loaded. Is the problem I am getting due to
> emulators/kqemu-kmod-devel or because of the start-up command?
> Installed packages: kqemu-kmod-devel-1.4.0.p1_5, qemu-devel-1.6.0. Host:
> FreeBSD_9.2-stable_amd64
> 
 As mentioned only the old emulators/qemu port can still use kqemu,
and also the kqemu port option needs to be set when building it.

 But if I were you I'd just use vbox instead...

 HTH, :)
	Juergen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130903175838.GA11984>