* [PATCH 0/2] add flags for conditional compilation of qemu dependencies
@ 2007-10-17 16:11 Carlo Marcelo Arenas Belon
2007-10-17 16:14 ` [PATCH 1/2] alsa configure option Carlo Marcelo Arenas Belon
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-10-17 16:11 UTC (permalink / raw)
To: kvm-devel
This series adds options to kvm's configure that match the ones used by qemu
to conditionally enable or disable options that alter its runtime dependencies
and functionality, like for example, support for alsa or TLS encrypted vnc
sessions.
Carlo
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] alsa configure option
2007-10-17 16:11 [PATCH 0/2] add flags for conditional compilation of qemu dependencies Carlo Marcelo Arenas Belon
@ 2007-10-17 16:14 ` Carlo Marcelo Arenas Belon
2007-10-17 16:16 ` [PATCH 2/2] vnc-tls configure flag Carlo Marcelo Arenas Belon
2007-10-17 16:55 ` [PATCH 0/2] add flags for conditional compilation of qemu dependencies Avi Kivity
2 siblings, 0 replies; 5+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-10-17 16:14 UTC (permalink / raw)
To: kvm-devel
Add an --enable-alsa option to conditionally add support for alsa so that
QEMU_AUDIO_DRV=alsa is supported.
This makes the dependency to alsa conditional and explicit.
Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
configure | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index d9292fe..8c6d340 100755
--- a/configure
+++ b/configure
@@ -4,6 +4,7 @@ prefix=/usr/local
kerneldir=/lib/modules/$(uname -r)/build
want_module=1
qemu_cc=$(ls /usr/bin/gcc3* /usr/bin/gcc-3* 2>/dev/null | tail -n1)
+enable_alsa=
disable_gcc_check=
usage() {
@@ -16,6 +17,7 @@ usage() {
--with-patched-kernel don't use external module
--kerneldir=DIR kernel build directory ($kerneldir)
--qemu-cc="$qemu_cc" compiler for qemu (needs gcc3.x) ($qemu_cc)
+ --enable-alsa enable alsa support for qemu
--disable-gcc-check don't insist on gcc-3.x
- this will break running without kvm
EOF
@@ -50,6 +52,9 @@ while [[ "$1" = -* ]]; do
--qemu-cc)
qemu_cc="$arg"
;;
+ --enable-alsa)
+ enable_alsa=1
+ ;;
--disable-gcc-check)
disable_gcc_check=1
;;
@@ -85,7 +90,7 @@ target_cpu() {
--disable-kqemu --extra-cflags="-I $PWD/../user" \
--extra-ldflags="-L $PWD/../user" \
--enable-kvm --kernel-path="$libkvm_kerneldir" \
- --enable-alsa \
+ ${enable_alsa:+"--enable-alsa"} \
${disable_gcc_check:+"--disable-gcc-check"} \
--prefix="$prefix"
)
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] vnc-tls configure flag
2007-10-17 16:11 [PATCH 0/2] add flags for conditional compilation of qemu dependencies Carlo Marcelo Arenas Belon
2007-10-17 16:14 ` [PATCH 1/2] alsa configure option Carlo Marcelo Arenas Belon
@ 2007-10-17 16:16 ` Carlo Marcelo Arenas Belon
2007-10-17 16:55 ` [PATCH 0/2] add flags for conditional compilation of qemu dependencies Avi Kivity
2 siblings, 0 replies; 5+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-10-17 16:16 UTC (permalink / raw)
To: kvm-devel
Add a --disable-vnc-tls option so that support for TLS authentication
for the VNC server can be conditionally disabled.
This makes the dependency to gnutls added by the new qemu conditional and
explicit.
Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
configure | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 8c6d340..f054d12 100755
--- a/configure
+++ b/configure
@@ -5,6 +5,7 @@ kerneldir=/lib/modules/$(uname -r)/build
want_module=1
qemu_cc=$(ls /usr/bin/gcc3* /usr/bin/gcc-3* 2>/dev/null | tail -n1)
enable_alsa=
+disable_vnc_tls=
disable_gcc_check=
usage() {
@@ -18,6 +19,7 @@ usage() {
--kerneldir=DIR kernel build directory ($kerneldir)
--qemu-cc="$qemu_cc" compiler for qemu (needs gcc3.x) ($qemu_cc)
--enable-alsa enable alsa support for qemu
+ --disable-vnc-tls disable vnc tls support for qemu
--disable-gcc-check don't insist on gcc-3.x
- this will break running without kvm
EOF
@@ -55,6 +57,9 @@ while [[ "$1" = -* ]]; do
--enable-alsa)
enable_alsa=1
;;
+ --disable-vnc-tls)
+ disable_vnc_tls=1
+ ;;
--disable-gcc-check)
disable_gcc_check=1
;;
@@ -91,6 +96,7 @@ target_cpu() {
--extra-ldflags="-L $PWD/../user" \
--enable-kvm --kernel-path="$libkvm_kerneldir" \
${enable_alsa:+"--enable-alsa"} \
+ ${disable_vnc_tls:+"--disable-vnc-tls"} \
${disable_gcc_check:+"--disable-gcc-check"} \
--prefix="$prefix"
)
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] add flags for conditional compilation of qemu dependencies
2007-10-17 16:11 [PATCH 0/2] add flags for conditional compilation of qemu dependencies Carlo Marcelo Arenas Belon
2007-10-17 16:14 ` [PATCH 1/2] alsa configure option Carlo Marcelo Arenas Belon
2007-10-17 16:16 ` [PATCH 2/2] vnc-tls configure flag Carlo Marcelo Arenas Belon
@ 2007-10-17 16:55 ` Avi Kivity
[not found] ` <47163E66.5010501-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2 siblings, 1 reply; 5+ messages in thread
From: Avi Kivity @ 2007-10-17 16:55 UTC (permalink / raw)
To: Carlo Marcelo Arenas Belon; +Cc: kvm-devel
Carlo Marcelo Arenas Belon wrote:
> This series adds options to kvm's configure that match the ones used by qemu
> to conditionally enable or disable options that alter its runtime dependencies
> and functionality, like for example, support for alsa or TLS encrypted vnc
> sessions.
>
>
Applied both, thanks. But if someone is thinking of a patch flood to
add all qemu options, I'd prefer a passthrough instead.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] add flags for conditional compilation of qemu dependencies
[not found] ` <47163E66.5010501-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-10-18 18:04 ` Carlo Marcelo Arenas Belon
0 siblings, 0 replies; 5+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-10-18 18:04 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel
On Wed, Oct 17, 2007 at 06:55:02PM +0200, Avi Kivity wrote:
> Carlo Marcelo Arenas Belon wrote:
> > This series adds options to kvm's configure that match the ones used by qemu
> > to conditionally enable or disable options that alter its runtime dependencies
> > and functionality, like for example, support for alsa or TLS encrypted vnc
> > sessions.
>
> Applied both, thanks. But if someone is thinking of a patch flood to
> add all qemu options, I'd prefer a passthrough instead.
The only other option I was interested in implementing was the one to
conditionally enable or disable support for sdl, but I can see why a
passthrough is a better option in the long run.
Carlo
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-10-18 18:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-17 16:11 [PATCH 0/2] add flags for conditional compilation of qemu dependencies Carlo Marcelo Arenas Belon
2007-10-17 16:14 ` [PATCH 1/2] alsa configure option Carlo Marcelo Arenas Belon
2007-10-17 16:16 ` [PATCH 2/2] vnc-tls configure flag Carlo Marcelo Arenas Belon
2007-10-17 16:55 ` [PATCH 0/2] add flags for conditional compilation of qemu dependencies Avi Kivity
[not found] ` <47163E66.5010501-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-18 18:04 ` Carlo Marcelo Arenas Belon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox