mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Implement a HCI passthrough to host.
This allows using a host's physical HCI as one of the HCIs attached to the virtual machine. This brings various limitations because not all commands/events are passed through by Linux kernel, some are interpreted by the host's kernel for a speed gain. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5344 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
58a26b477e
commit
fb599c9a03
4 changed files with 226 additions and 1 deletions
20
configure
vendored
20
configure
vendored
|
@ -110,6 +110,7 @@ curses="yes"
|
|||
aio="yes"
|
||||
nptl="yes"
|
||||
mixemu="no"
|
||||
bluez="yes"
|
||||
signalfd="no"
|
||||
eventfd="no"
|
||||
|
||||
|
@ -293,6 +294,8 @@ for opt do
|
|||
;;
|
||||
--disable-brlapi) brlapi="no"
|
||||
;;
|
||||
--disable-bluez) bluez="no"
|
||||
;;
|
||||
--enable-profiler) profiler="yes"
|
||||
;;
|
||||
--enable-cocoa)
|
||||
|
@ -429,6 +432,7 @@ echo " --enable-mixemu enable mixer emulation"
|
|||
echo " --disable-brlapi disable BrlAPI"
|
||||
echo " --disable-vnc-tls disable TLS encryption for VNC server"
|
||||
echo " --disable-curses disable curses output"
|
||||
echo " --disable-bluez disable bluez stack connectivity"
|
||||
echo " --disable-nptl disable usermode NPTL support"
|
||||
echo " --enable-system enable all system emulation targets"
|
||||
echo " --disable-system disable all system emulation targets"
|
||||
|
@ -890,6 +894,16 @@ EOF
|
|||
fi
|
||||
fi # test "$curses"
|
||||
|
||||
##########################################
|
||||
# bluez support probe
|
||||
if test "$bluez" = "yes" ; then
|
||||
`pkg-config bluez` || bluez="no"
|
||||
fi
|
||||
if test "$bluez" = "yes" ; then
|
||||
bluez_cflags=`pkg-config --cflags bluez`
|
||||
bluez_libs=`pkg-config --libs bluez`
|
||||
fi
|
||||
|
||||
##########################################
|
||||
# AIO probe
|
||||
if test "$aio" = "yes" ; then
|
||||
|
@ -1254,6 +1268,12 @@ if test "$brlapi" = "yes" ; then
|
|||
echo "#define CONFIG_BRLAPI 1" >> $config_h
|
||||
echo "BRLAPI_LIBS=-lbrlapi" >> $config_mak
|
||||
fi
|
||||
if test "$bluez" = "yes" ; then
|
||||
echo "CONFIG_BLUEZ=yes" >> $config_mak
|
||||
echo "CONFIG_BLUEZ_CFLAGS=$bluez_cflags" >> $config_mak
|
||||
echo "CONFIG_BLUEZ_LIBS=$bluez_libs" >> $config_mak
|
||||
echo "#define CONFIG_BLUEZ 1" >> $config_h
|
||||
fi
|
||||
if test "$aio" = "yes" ; then
|
||||
echo "#define CONFIG_AIO 1" >> $config_h
|
||||
echo "CONFIG_AIO=yes" >> $config_mak
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue