Bug#614169: Bug#614252: qemu -enable-kvm freezes

2011-02-28 Thread Aurelien Jarno
On Mon, Feb 28, 2011 at 12:52:25AM +0100, Luca Capello wrote:
 Hi there!
 
 On Tue, 22 Feb 2011 21:07:30 +0100, Javier Vasquez wrote:
  On Tue, Feb 22, 2011 at 1:19 PM, Aurelien Jarno aurel...@aurel32.net 
  wrote:
  On Mon, Feb 21, 2011 at 02:01:16PM -0800, Vagrant Cascadian wrote:
  ...
 
   So, it really was the VGA driver the one making qemu -enable-kvm not
   to work.
 
 
  IMHO, it's most probably a duplicate of #614169.
 
 
  Might be, but 614169 doesn't talk about making qemu -enble-kvm
  unusable.  It indicates a warning message is all there is to it, not
  wrong functionality, neither that -vga std or -vga vmware break
  qemu -enable-kvm, which is what I'm experiencing.
 
 There is more than a warning message, as I already reported in this bug
 (and sorry for not having also reported to #614169, doing now):
 
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614252#15
 
 On Mon, 21 Feb 2011 16:28:15 +0100, Luca Capello wrote:
  On Sun, 20 Feb 2011 19:39:23 +0100, Vagrant Cascadian wrote:
  On Sun, Feb 20, 2011 at 11:24:16AM -0600, Javier Vasquez wrote:
  On an amd64 laptop (debian unstable) I've been using qemu with the
  following arguments (with windows XP guest):
 
  Same here: Debian sid with the latest qemu and Windows XP guest.
 
  qemu $ARGS_GEN $ARGS_NET $ARGS_BIOS0 $ARGS_BIOS1 $ARGS_VGA $ARGS_AUDIO
  $ARGS_USB $ARGS_CPU $ARGS_NIC
 
  i know you've tried a variety of commandline options, but what about just 
  using
  the defaults with -enable-kvm?
 
$ qemu -enable-kvm -rtc base=localtime -m 512M -vnc 127.0.0.1:9,none \
   -monitor stdio -runas luca /home/luca/xp-pro-en_BioEdit.img
 [...]
  qemu: pci_add_option_rom: failed to find romfile vgabios-stdvga.bin
 
  this is bug#614169, and as far as i know, shouldn't really be a problem.
 
  You mean, it is not a problem related to *this* bug?  Because it is
  anyway a problem, the above command results in an unusable VNC
  connection: the window first shows a vertically-degraded gray (from
  center to sides), then a degraded blue-to-gray, from left to right, with
  some orange in the middle.
 
 Anyway, now that vgabios/0.6c-3 was uploaded, including the QEMU patches
 to vgabios (see #614200), after having manully added the symlink for
 vgabios-stdvga.bin [1], the following works as expected as normal user:
 
   $ ln -s ../vgabios/vgabios.stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
   $ qemu-system-x86_64 -enable-kvm  -rtc base=localtime -name XP-Pro-En \
  -m 512M -k en-us -soundhw ac97 -usb -usbdevice tablet -vga std \
  -vnc localhost:9,none -monitor stdio -runas luca \
  /home/luca/xp-pro-en_BioEdit.img
 
 [1] I am wondering if QEMU should not directly look where the various
 vgabios files are instead of symlinking them...  Yeah, I know the
 filenames are different :-(
 
 Two notes: first, `qemu -enable-kvm` is slower than `kvm` and, second, I
 have not tested it for long uptimes yet, sorry, but still with Firefox +
 Flash video on YouTube.
 

Yes this is something known, some parts of kvm hasn't been merged yet,
that's actually why we have both qemu and qemu-kvm in the archive. FYI,
it has already been reported as bug #597527.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#614169: Bug#614252: qemu -enable-kvm freezes

2011-02-28 Thread Luca Capello
Hi there!

On Mon, 28 Feb 2011 11:46:10 +0100, Aurelien Jarno wrote:
 On Mon, Feb 28, 2011 at 12:52:25AM +0100, Luca Capello wrote:
 Two notes: first, `qemu -enable-kvm` is slower than `kvm` and, second, I
 have not tested it for long uptimes yet, sorry, but still with Firefox +
 Flash video on YouTube.

 Yes this is something known, some parts of kvm hasn't been merged yet,
 that's actually why we have both qemu and qemu-kvm in the archive. FYI,
 it has already been reported as bug #597527.

Thank you for the information, I was (sort of) aware that the merging
has not been completed yet.

FYI, mine was not a complaint, just a general remark in case it would
have mattered WRT to both bugs (which does not seem the case).

Thx, bye,
Gismo / Luca


pgptSyOEbDiVN.pgp
Description: PGP signature


Bug#614169: Bug#614252: qemu -enable-kvm freezes

2011-02-27 Thread Luca Capello
Hi there!

On Tue, 22 Feb 2011 21:07:30 +0100, Javier Vasquez wrote:
 On Tue, Feb 22, 2011 at 1:19 PM, Aurelien Jarno aurel...@aurel32.net wrote:
 On Mon, Feb 21, 2011 at 02:01:16PM -0800, Vagrant Cascadian wrote:
 ...

  So, it really was the VGA driver the one making qemu -enable-kvm not
  to work.


 IMHO, it's most probably a duplicate of #614169.


 Might be, but 614169 doesn't talk about making qemu -enble-kvm
 unusable.  It indicates a warning message is all there is to it, not
 wrong functionality, neither that -vga std or -vga vmware break
 qemu -enable-kvm, which is what I'm experiencing.

There is more than a warning message, as I already reported in this bug
(and sorry for not having also reported to #614169, doing now):

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614252#15

On Mon, 21 Feb 2011 16:28:15 +0100, Luca Capello wrote:
 On Sun, 20 Feb 2011 19:39:23 +0100, Vagrant Cascadian wrote:
 On Sun, Feb 20, 2011 at 11:24:16AM -0600, Javier Vasquez wrote:
 On an amd64 laptop (debian unstable) I've been using qemu with the
 following arguments (with windows XP guest):

 Same here: Debian sid with the latest qemu and Windows XP guest.

 qemu $ARGS_GEN $ARGS_NET $ARGS_BIOS0 $ARGS_BIOS1 $ARGS_VGA $ARGS_AUDIO
 $ARGS_USB $ARGS_CPU $ARGS_NIC

 i know you've tried a variety of commandline options, but what about just 
 using
 the defaults with -enable-kvm?

   $ qemu -enable-kvm -rtc base=localtime -m 512M -vnc 127.0.0.1:9,none \
  -monitor stdio -runas luca /home/luca/xp-pro-en_BioEdit.img
[...]
 qemu: pci_add_option_rom: failed to find romfile vgabios-stdvga.bin

 this is bug#614169, and as far as i know, shouldn't really be a problem.

 You mean, it is not a problem related to *this* bug?  Because it is
 anyway a problem, the above command results in an unusable VNC
 connection: the window first shows a vertically-degraded gray (from
 center to sides), then a degraded blue-to-gray, from left to right, with
 some orange in the middle.

Anyway, now that vgabios/0.6c-3 was uploaded, including the QEMU patches
to vgabios (see #614200), after having manully added the symlink for
vgabios-stdvga.bin [1], the following works as expected as normal user:

  $ ln -s ../vgabios/vgabios.stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
  $ qemu-system-x86_64 -enable-kvm  -rtc base=localtime -name XP-Pro-En \
 -m 512M -k en-us -soundhw ac97 -usb -usbdevice tablet -vga std \
 -vnc localhost:9,none -monitor stdio -runas luca \
 /home/luca/xp-pro-en_BioEdit.img

[1] I am wondering if QEMU should not directly look where the various
vgabios files are instead of symlinking them...  Yeah, I know the
filenames are different :-(

Two notes: first, `qemu -enable-kvm` is slower than `kvm` and, second, I
have not tested it for long uptimes yet, sorry, but still with Firefox +
Flash video on YouTube.

Thx, bye,
Gismo / Luca


pgpBjcjG3rCdG.pgp
Description: PGP signature