diff mbox

[20/24] Only print kvm options when kvm is enabled

Message ID 0b05c78881f51eb26727b5eece124a0164557ab5.1253272938.git.quintela@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Juan Quintela Sept. 18, 2009, 11:41 a.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

Comments

Marcelo Tosatti Sept. 18, 2009, 7:42 p.m. UTC | #1
On Fri, Sep 18, 2009 at 01:41:31PM +0200, Juan Quintela wrote:
> 
> Signed-off-by: Juan Quintela <quintela@redhat.com>
> ---
>  configure |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/configure b/configure
> index 9598331..91246a1 100755
> --- a/configure
> +++ b/configure
> @@ -1881,9 +1881,11 @@ echo "IO thread         $io_thread"
>  echo "Linux AIO support $linux_aio"
>  echo "Install blobs     $blobs"
>  echo "KVM support       $kvm"
> -echo "KVM PIT support   $kvm_cap_pit"
> -echo "KVM device assig. $kvm_cap_device_assignment"
> -echo "KVM trace support $kvm_trace"
> +if test "$kvm" = "yes" ; then
> +  echo "  PIT support       $kvm_cap_pit"
> +  echo "  device assignment $kvm_cap_device_assignment"
> +  echo "  trace support     $kvm_trace"
> +fi

"KVM xxx support" is informative.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Juan Quintela Sept. 18, 2009, 9:43 p.m. UTC | #2
Marcelo Tosatti <mtosatti@redhat.com> wrote:
> On Fri, Sep 18, 2009 at 01:41:31PM +0200, Juan Quintela wrote:
>> 
>> Signed-off-by: Juan Quintela <quintela@redhat.com>
>> ---
>>  configure |    8 +++++---
>>  1 files changed, 5 insertions(+), 3 deletions(-)
>> 
>> diff --git a/configure b/configure
>> index 9598331..91246a1 100755
>> --- a/configure
>> +++ b/configure
>> @@ -1881,9 +1881,11 @@ echo "IO thread         $io_thread"
>>  echo "Linux AIO support $linux_aio"
>>  echo "Install blobs     $blobs"
>>  echo "KVM support       $kvm"
>> -echo "KVM PIT support   $kvm_cap_pit"
>> -echo "KVM device assig. $kvm_cap_device_assignment"
>> -echo "KVM trace support $kvm_trace"
>> +if test "$kvm" = "yes" ; then
>> +  echo "  PIT support       $kvm_cap_pit"
>> +  echo "  device assignment $kvm_cap_device_assignment"
>> +  echo "  trace support     $kvm_trace"
>> +fi
>
> "KVM xxx support" is informative.

It is indented under KVM support entry.  Problem here is that device
assignment is too long :(

Later, Juan.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/configure b/configure
index 9598331..91246a1 100755
--- a/configure
+++ b/configure
@@ -1881,9 +1881,11 @@  echo "IO thread         $io_thread"
 echo "Linux AIO support $linux_aio"
 echo "Install blobs     $blobs"
 echo "KVM support       $kvm"
-echo "KVM PIT support   $kvm_cap_pit"
-echo "KVM device assig. $kvm_cap_device_assignment"
-echo "KVM trace support $kvm_trace"
+if test "$kvm" = "yes" ; then
+  echo "  PIT support       $kvm_cap_pit"
+  echo "  device assignment $kvm_cap_device_assignment"
+  echo "  trace support     $kvm_trace"
+fi
 echo "fdt support       $fdt"
 echo "preadv support    $preadv"