qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] VNC viewer displays nothing with -enable-kvm but works fine without -enable-kvm
@ 2014-03-14  8:02 Le Tan
  2014-03-20  7:45 ` Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: Le Tan @ 2014-03-14  8:02 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

Hi, I used qemu-kvm-1.2.0 before. I can run qemu with kvm well. Two days
ago, I updated qemu to qemu-1.6.2, and start the qemu with the command:
qemu-system-x86_64 -m 2048 -smp 4 -hda /home/tanle/study/new.img -nographic
-vnc 162.105.146.118:2
It works fine and slow. It is obviously not using the kvm to accelerate.
Then I use the command:
qemu-system-x86_64 -m 2048 -smp 4 -hda /home/tanle/study/new.img -nographic
-vnc 162.105.146.118:2 -enable-kvm
The VNC viewer can connect to the vm, but it is black and displays nothing.
What is wrong here?
My kernel version is 3.11.0. Will it be the problem of compatibility?
Thanks!

--Le Tan

[-- Attachment #2: Type: text/html, Size: 844 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] VNC viewer displays nothing with -enable-kvm but works fine without -enable-kvm
  2014-03-14  8:02 [Qemu-devel] VNC viewer displays nothing with -enable-kvm but works fine without -enable-kvm Le Tan
@ 2014-03-20  7:45 ` Stefan Hajnoczi
  2014-03-20 12:17   ` Le Tan
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2014-03-20  7:45 UTC (permalink / raw)
  To: Le Tan; +Cc: qemu-devel

On Fri, Mar 14, 2014 at 04:02:58PM +0800, Le Tan wrote:
> Hi, I used qemu-kvm-1.2.0 before. I can run qemu with kvm well. Two days
> ago, I updated qemu to qemu-1.6.2, and start the qemu with the command:
> qemu-system-x86_64 -m 2048 -smp 4 -hda /home/tanle/study/new.img -nographic
> -vnc 162.105.146.118:2
> It works fine and slow. It is obviously not using the kvm to accelerate.
> Then I use the command:
> qemu-system-x86_64 -m 2048 -smp 4 -hda /home/tanle/study/new.img -nographic
> -vnc 162.105.146.118:2 -enable-kvm
> The VNC viewer can connect to the vm, but it is black and displays nothing.
> What is wrong here?

Please use the latest upstream QEMU release (1.7.0) or contact your
distro if you are using a packaged version of QEMU.

Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] VNC viewer displays nothing with -enable-kvm but works fine without -enable-kvm
  2014-03-20  7:45 ` Stefan Hajnoczi
@ 2014-03-20 12:17   ` Le Tan
  0 siblings, 0 replies; 3+ messages in thread
From: Le Tan @ 2014-03-20 12:17 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]

I have tried 1.7.0 and it doesn't work either. And I find that it doesn't
work with QEMU whose version is above 1.3. Then I change the kernel from
3.11.0 to the latest release, and it works fine with QEMU 1.6.2 and
1.7.0!!! I know that qemu-kvm have been merged back into qemu after 1.2.2.
So maybe there is something different between before and after this? Maybe
it is the problem of compatibility between the old kernel and the new QEMU?
Thanks.

--Le Tan


2014-03-20 15:45 GMT+08:00 Stefan Hajnoczi <stefanha@gmail.com>:

> On Fri, Mar 14, 2014 at 04:02:58PM +0800, Le Tan wrote:
> > Hi, I used qemu-kvm-1.2.0 before. I can run qemu with kvm well. Two days
> > ago, I updated qemu to qemu-1.6.2, and start the qemu with the command:
> > qemu-system-x86_64 -m 2048 -smp 4 -hda /home/tanle/study/new.img
> -nographic
> > -vnc 162.105.146.118:2
> > It works fine and slow. It is obviously not using the kvm to accelerate.
> > Then I use the command:
> > qemu-system-x86_64 -m 2048 -smp 4 -hda /home/tanle/study/new.img
> -nographic
> > -vnc 162.105.146.118:2 -enable-kvm
> > The VNC viewer can connect to the vm, but it is black and displays
> nothing.
> > What is wrong here?
>
> Please use the latest upstream QEMU release (1.7.0) or contact your
> distro if you are using a packaged version of QEMU.
>
> Stefan
>

[-- Attachment #2: Type: text/html, Size: 1919 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-20 12:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14  8:02 [Qemu-devel] VNC viewer displays nothing with -enable-kvm but works fine without -enable-kvm Le Tan
2014-03-20  7:45 ` Stefan Hajnoczi
2014-03-20 12:17   ` Le Tan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).