[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E2D608F.6020606@redhat.com>
Date: Mon, 25 Jul 2011 14:24:47 +0200
From: Kevin Wolf <kwolf@...hat.com>
To: Pekka Enberg <penberg@...nel.org>
CC: Alexander Graf <agraf@...e.de>, Ingo Molnar <mingo@...e.hu>,
Jan Kiszka <jan.kiszka@....de>, torvalds@...ux-foundation.org,
avi@...hat.com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
gorcunov@...il.com, levinsasha928@...il.com, asias.hejun@...il.com,
prasadjoshi124@...il.com
Subject: Re: [GIT PULL] Native Linux KVM tool for 3.1
Am 25.07.2011 10:30, schrieb Pekka Enberg:
> Hi Alexander,
>
> On Mon, Jul 25, 2011 at 11:14 AM, Alexander Graf <agraf@...e.de> wrote:
>>> So i wanted to have a lightweight tool that allows me to test KVM and
>>> tools/kvm/ does that very nicely: i type './kvm run' and i can test a
>>> native bzImage (which has some virtualization options enabled as
>>> well) on the _host_ distro i am running, booting to a text shell
>>> prompt.
>>
>> I do that all the time.
>>
>> $ qemu-kvm -nographic -kernel arch/x86/boot/bzImage -append console=ttyS0
>>
>> does the exact same thing. If that's too much typing for you, make it a bash alias.
>
> You know, they said the same thing about oprofile. All you needed to do was to
> write few simple shell scripts to make it work. One of the key
> features of tools/kvm
> is 'as little configuration as possible' and I can assure you that
> bash alias is really
> not a solution for that.
You've just chosen a different default. I'd argue that most users (i.e.
not developers of the tool or the kernel) actually want to run with a
disk image and graphics. You can type "qemu-kvm harddisk.img" and that's
it. This is clearly superior to something as tedious as "./kvm run -d
harddisk.img --sdl" and I can assure you that a bash alias is really not
a solution for that.
So, as always, which set of command line switches works better for you
depends entirely on your use case.
Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists