View Single Post
Old 9th March 2009
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

Add for x86_64/amd64 hosts.

# kldload kqemu aio if_tap if_bridge
# sysctl net.link.tap.user_open=1
# ifconfig tap0 create
# ifconfig bridge0 create

## example from my computer##
vi /etc/devfs.rules

#BiscuitBox Rules
#
[biscuitbox_rules=100]
add path 'acd*' mode 666
#add path 'cd*' mode 666
#own tap0 moleque:moleque <-- remove the # from this line to where it looks like this:
vi /etc/devfs.rules

#BiscuitBox Rules
#
[biscuitbox_rules=100]
add path 'acd*' mode 666
#add path 'cd*' mode 666
own tap0 moleque:moleque-->
Save changes and exit.

Jurgen suggested
" Or if you really want to run qemu as root use something like kdesu to
allow root to access your X display, or just do the following `hack':
ln -sf ~yourlogin/.Xauthority ~
(as root.)"

Use the qcow2 format for images.
Reply With Quote