Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2013 07:48:52 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-emulation@freebsd.org
Subject:   qemu-devel - no kvm accelerator
Message-ID:  <1378133332544-5841054.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
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

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!

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)

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



--
View this message in context: http://freebsd.1045724.n5.nabble.com/qemu-devel-no-kvm-accelerator-tp5841054.html
Sent from the freebsd-emulation mailing list archive at Nabble.com.



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