Auto bridge for qemu network [was: kqemu support: not compiled]
Thanks for updating the port! I have few suggestions: #cat /etc/rc.conf [...] #KQEMU for qemu kqemu_enable="YES" #Bridge for qemu cloned_interfaces="bridge0" ifconfig_bridge0="up addm sk0" autobridge_interfaces="bridge0" autobridge_bridge0="tap*" This should take care of the network connection between qemu virtual host and the host instead of doing it manually. Assuming that qemu is using tap and the default "if" on the host is sk0. Also, is it possible to update this page, it has some outdated info: http://people.freebsd.org/~maho/qemu/qemu.html *It is the 1st answer from google when asked "freebsd qemu" ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kqemu support: not compiled
In article <[EMAIL PROTECTED]> you write: >On Tue, 13 May 2008 00:18:32 EDT bazzoola <[EMAIL PROTECTED]> wrote: >> >> On May 12, 2008, at 10:20 PM, Bakul Shah wrote: >> >> >> I just cant get kqemu to work on my AMD64 SMP! >> > >> > echo kqemu_enable=YES >> /etc/rc.conf >> > /usr/local/etc/rc.d/kqemu start > >This should probably be described in pkg-message. > >> I looked at the rc script and all it does is kldload aio and kqemu. I >> already have them loaded by default. > >You didn't provide information so I had to guess. > >> This still does not help me with my problem. >> >> I press Ctrl + Alt + 2 >> then I type info kqemu >> I get "kqemu support: not compiled" > >Are you running qemu? It is an i386 emulator and won't use >kqemu on amd64. You need to run qemu-system-x86_64. I know, >this is a bit confusing. I just added notes about these two things to the pkg-message(s)... Juergen ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kqemu support: not compiled
On Mon, 12 May 2008 20:56:20 -0400 bazzoola wrote: > I just cant get kqemu to work on my AMD64 SMP! > I setenv WITH_KQEMU > I compiled the port with make -DWITH_KQEMU > I edited src.conf and added WITH_KQEMU=yes > I make config and checked KQEMU ALPHA support > I am running > #uname -a > FreeBSD Aa.bsd 7.0-STABLE FreeBSD 7.0-STABLE #3: Mon Apr 21 05:56:16 > CDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 > #pkg_info | grep qemu > kqemu-kmod-1.3.0.p11_6 > qemu-devel-0.9.1s.20080302_6 > latest as you as see ^^^ > any ideas? You didn't show the actual command and an error message. -- WBR, bsam ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kqemu support: not compiled
Thanks for your quick reply I appreciate that! Please see below: On May 13, 2008, at 12:51 AM, Bakul Shah wrote: On Tue, 13 May 2008 00:18:32 EDT bazzoola <[EMAIL PROTECTED]> wrote: On May 12, 2008, at 10:20 PM, Bakul Shah wrote: I just cant get kqemu to work on my AMD64 SMP! echo kqemu_enable=YES >> /etc/rc.conf /usr/local/etc/rc.d/kqemu start This should probably be described in pkg-message. It is not there. I looked at the rc script and all it does is kldload aio and kqemu. I already have them loaded by default. You didn't provide information so I had to guess. My problem lies in qemu not being compiled with kqemu This still does not help me with my problem. I press Ctrl + Alt + 2 then I type info kqemu I get "kqemu support: not compiled" Are you running qemu? It is an i386 emulator and won't use kqemu on amd64. You need to run qemu-system-x86_64. I know, this is a bit confusing. I thought qemu on x64 runs that directly. My bad.. Note I had to run qemu-system-x86_64 -kernel-kqemu to get kernel mode virtz to work otherwise it will just load it in user mode. Thanks again for your help! If you are still having problems provide the *exact sequence* of commands you used to build and run qemu. BTW, to build you don't need to muck with environ. var. or -DWITH_KQEMU. Just do make config && make ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kqemu support: not compiled
On Tue, 13 May 2008 00:18:32 EDT bazzoola <[EMAIL PROTECTED]> wrote: > > On May 12, 2008, at 10:20 PM, Bakul Shah wrote: > > >> I just cant get kqemu to work on my AMD64 SMP! > > > > echo kqemu_enable=YES >> /etc/rc.conf > > /usr/local/etc/rc.d/kqemu start This should probably be described in pkg-message. > I looked at the rc script and all it does is kldload aio and kqemu. I > already have them loaded by default. You didn't provide information so I had to guess. > This still does not help me with my problem. > > I press Ctrl + Alt + 2 > then I type info kqemu > I get "kqemu support: not compiled" Are you running qemu? It is an i386 emulator and won't use kqemu on amd64. You need to run qemu-system-x86_64. I know, this is a bit confusing. If you are still having problems provide the *exact sequence* of commands you used to build and run qemu. BTW, to build you don't need to muck with environ. var. or -DWITH_KQEMU. Just do make config && make ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kqemu support: not compiled
On 2008 May 13, at 0:18, bazzoola wrote: I press Ctrl + Alt + 2 then I type info kqemu I get "kqemu support: not compiled" Without looking, I'd guess this means the qemu binary was built without kqemu support enabled. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon universityKF8NH ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kqemu support: not compiled
On May 13, 2008, at 12:24 AM, Brandon S. Allbery KF8NH wrote: On 2008 May 13, at 0:18, bazzoola wrote: I press Ctrl + Alt + 2 then I type info kqemu I get "kqemu support: not compiled" Without looking, I'd guess this means the qemu binary was built without kqemu support enabled. as I stated before (which u omitted) I DID enabled kqemu everywhere and then built qemu but still I get that error not compiled. setenv WITH_KQEMU edited src.conf and added WITH_KQEMU=yes did make config and checked KQEMU ALPHA support compiled the port with make -DWITH_KQEMU how do you compile qemu binary with kqemu? other than the 4 things above? -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon university KF8NH ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kqemu support: not compiled
On May 12, 2008, at 10:20 PM, Bakul Shah wrote: I just cant get kqemu to work on my AMD64 SMP! echo kqemu_enable=YES >> /etc/rc.conf /usr/local/etc/rc.d/kqemu start I looked at the rc script and all it does is kldload aio and kqemu. I already have them loaded by default. This still does not help me with my problem. I press Ctrl + Alt + 2 then I type info kqemu I get "kqemu support: not compiled" ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kqemu support: not compiled
On May 12, 2008, at 10:20 PM, Bakul Shah wrote: I just cant get kqemu to work on my AMD64 SMP! echo kqemu_enable=YES >> /etc/rc.conf /usr/local/etc/rc.d/kqemu start Is this documented anywhere? Also, I volunteered to update the wiki and the author was grateful for that but I didn't get access. If anyone cares. I can just send the updates here via email. Thanks! ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kqemu support: not compiled
Greetings, I just cant get kqemu to work on my AMD64 SMP! I setenv WITH_KQEMU I compiled the port with make -DWITH_KQEMU I edited src.conf and added WITH_KQEMU=yes I make config and checked KQEMU ALPHA support I am running #uname -a FreeBSD Aa.bsd 7.0-STABLE FreeBSD 7.0-STABLE #3: Mon Apr 21 05:56:16 CDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 #pkg_info | grep qemu kqemu-kmod-1.3.0.p11_6 qemu-devel-0.9.1s.20080302_6 latest as you as see ^^^ any ideas? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"