Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAUhN-0003XX-M9 for qemu-devel@nongnu.org; Tue, 17 Nov 2009 15:30:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAUhI-0003UU-LY for qemu-devel@nongnu.org; Tue, 17 Nov 2009 15:30:49 -0500 Received: from [199.232.76.173] (port=34643 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAUhI-0003UP-Gg for qemu-devel@nongnu.org; Tue, 17 Nov 2009 15:30:44 -0500 Received: from mail-fx0-f222.google.com ([209.85.220.222]:57867) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAUhH-0007qQ-DA for qemu-devel@nongnu.org; Tue, 17 Nov 2009 15:30:44 -0500 Received: by fxm22 with SMTP id 22so449875fxm.2 for ; Tue, 17 Nov 2009 12:30:42 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <200911171215.03555.rickv@hobi.com> References: <1268dd670911162211wd0b6592sb21c93408a348ac1@mail.gmail.com> <200911171215.03555.rickv@hobi.com> From: Luiz Felipe Date: Tue, 17 Nov 2009 18:30:22 -0200 Message-ID: <1268dd670911171230h2d5dd67bt677d65ca5fb89f35@mail.gmail.com> Subject: Re: [Qemu-devel] bug report with kqemu on AMD 64 Content-Type: multipart/alternative; boundary=0016e6d99bd1ff1661047896ff3a List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rick Vernam , "Krumme, Chris" Cc: qemu-devel@nongnu.org --0016e6d99bd1ff1661047896ff3a Content-Type: text/plain; charset=ISO-8859-1 Hi people, I would like to tank you for your attention and patience. I don't understand many things about emulators, nor linux. I started using Ubuntu-Linux this year, and since then, i started to discover a new world. But sometimes i have some problems and it's not so easy to a newbie to solve it. But, i don't know exactly why, it happened here that kvm started to work. Yesterday i installed a windows XP SP3 on a new machine image using virt-manager. And since kvm and windows did not want to work together, as happened to virtualbox another day, i tried to install windows using a kqemu mode. Well, today i simply tried to write this in the terminal window: "kvm Windows.img" on the image directory, and it happened for my surprise that kvm could run windows image, and it was much faster than kemu. So, although i can't guess why it worked for me, the fact is that now it is working, and the problem has been solved. Perhaps in the future i can discover why this have happened. Now, i have a question: I've written to this mail list because qemu message on my terminal told me to do so. So, what is this list about? Is this some list of the community that develops qemu? In the future, if i discover or understand what happened here for things get working, may i write tothis mail list, or is there any other place where it would be more appropriate to do that? Thank's Luiz Felipe On Tue, Nov 17, 2009 at 4:15 PM, Rick Vernam wrote: > On Tuesday 17 November 2009 12:11:58 am Luiz Felipe wrote: > > Hi, i tried to use kqemu in ubuntu to start Windows XP SP3. I used the > > command line: "qemu -kernel-kqemu" and the system started to run windows > on > > qemu. Although, i observed the following message on my shell: > > > > QEMU acceleration layer not activated: Permission denied > > unknown keycodes `evdev(abnt2)_aliases(qwerty)', please report to > > qemu-devel@nongnu.org > 1 - It has been stated here on the mailing list that kqemu is no longer > supported by Qemu; by no means do I consider myself a qualified spokesman > on > the issue (I don't have hardware virtualization support, so I know where > you're coming from). > 2 - It's possible that the kqemu issue is only a permissions problem - > check > /dev/kqemu and see if you have rw permissions there (for example you might > want to chown root:qemu /dev/kqemu and chmod 0660 /dev/kqemu ... and make > sure > you have yourself in the qemu group. maybe you'd have to create that group > first, I really don't know). > 3 - I'd guess that the unknown keycode is a separate issue... > > > > > My computer is an AMD 64 Phenom quad-core. I had problems with virtualbox > > and kvm. The system crashed. As i've read onsome forums, it appears to be > > some incompatibility between my computr BIOS and the hardware > > virtualization since I've read that kemu emulates everything, and that's > > why it's alower than other virtualization machines. > Yes, qemu by itself emulates everything. In the past, kqemu provided > virtualization. KVM now plays that role. > > May the problem experienced with kqemu is been caused by the > impossibility > of optimization using hardware? > If you can get qemu to load kqemu, many things will be virtualized > resulting > in a noticeable improvement in speed. (ie, check /dev/kqemu file > permissions) > > Have you tried using Virtualbox with hardware virtualization (ie > VT-x/AMD-V) > turned off? > > > > > Thank's. > > > > Luiz Felipe > > > --0016e6d99bd1ff1661047896ff3a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi people,

I would like to tank you for your attention and patience.= I don't understand many things about emulators, nor linux. I started u= sing Ubuntu-Linux this year, and since then, i started to discover a new wo= rld. But sometimes i have some problems and it's not so easy to a newbi= e to solve it.

But, i don't know exactly why, it happened here that kvm started to= work. Yesterday i installed a windows XP SP3 on a new machine image using = virt-manager. And since kvm and windows did not want to work together, as h= appened to virtualbox another day, i tried to install windows using a kqemu= mode. Well, today i simply tried to write this in the terminal window: &qu= ot;kvm Windows.img" on the image directory, and it happened for my sur= prise that kvm could run windows image, and it was much faster than kemu.
So, although i can't guess why it worked for me, the fact is that n= ow it is working, and the problem has been solved. Perhaps in the future i = can discover why this have happened. Now, i have a question: I've writt= en to this mail list because qemu message on my terminal told me to do so. = So, what is this list about? Is this some list of the community that develo= ps qemu?

In the future, if i discover or understand what happened here for thing= s get working, may i write tothis mail list, or is there any other place wh= ere it would be more appropriate to do that?

Thank's

Luiz Felipe

On Tue, Nov 17, 2009 at 4:15 = PM, Rick Vernam <ric= kv@hobi.com> wrote:
On Tuesday 17 November 2009 12:11:58 am Luiz Felipe wrote= :
> Hi, i tried to use kqemu in ubuntu to start Windows XP SP3. I used the=
> command line: "qemu -kernel-kqemu" and the system started to= run windows on
> qemu. Although, i observed the following message on my shell:
>
> QEMU acceleration layer not activated: Permission denied
> unknown keycodes `evdev(abnt2)_aliases(qwerty)', please report to<= br> > qemu-devel@nongnu.org
1 - It has been stated here on the mailing list that kqemu is no long= er
supported by Qemu; by no means do I consider myself a qualified spokesman o= n
the issue (I don't have hardware virtualization support, so I know wher= e
you're coming from).
2 - It's possible that the kqemu issue is only a permissions problem - = check
/dev/kqemu and see if you have rw permissions there (for example you might<= br> want to chown root:qemu /dev/kqemu and chmod 0660 /dev/kqemu ... and make s= ure
you have yourself in the qemu group. maybe you'd have to create that gr= oup
first, I really don't know).
3 - I'd guess that the unknown keycode is a separate issue...

>
> My computer is an AMD 64 Phenom quad-core. I had problems with virtual= box
> and kvm. The system crashed. As i've read onsome forums, it appear= s to be
> some incompatibility between my computr BIOS and the hardware
> virtualization since I've read that kemu emulates everything, and = that's
> why it's alower than other virtualization machines.
Yes, qemu by itself emulates everything. =A0In the past, kqemu provid= ed
virtualization. =A0KVM now plays that role.
> May the problem experienced with kqemu is been cause= d by the impossibility
of optimization using hardware?
If you can get qemu to load kqemu, many things will be virtualized re= sulting
in a noticeable improvement in speed. =A0(ie, check /dev/kqemu file permiss= ions)

Have you tried using Virtualbox with hardware virtualization (ie VT-x/AMD-V= )
turned off?

>
> Thank's.
>
> Luiz Felipe
>

--0016e6d99bd1ff1661047896ff3a--