Hello, I'm not using vnc but I have similar problems as long as the option '-vga vmware' is present in my startup script.
1. With an existing debian-amd64/testing VM image, I get the following message
after GRUB
unaligned pointer 0x8f8b0002
Aborted. Press any key to exit.
2. With a Knoppix live CD, the virtual system becomes unusable after a few
minutes.
kvm -drive file=~/iso.images/KNOPPIX_V6.2.1CD-2010-01-31-
EN.iso,media=cdrom,boot=on -vga vmware
3. The two previous VMs work fine without -vga option
$ dpkg -l qemu* |grep ^ii
ii qemu-keymaps 0.14.0+dfsg-4 QEMU keyboard maps
ii qemu-kvm 0.14.0+dfsg-1~tls Full virtualization on x86 hardware
ii qemu-user 0.14.0+dfsg-4 QEMU user mode emulation
binaries
ii qemu-utils 0.14.0+dfsg-4 QEMU utilities
$ uname -a
Linux typhoon 2.6.37.2 #1 SMP PREEMPT Sat Feb 26 11:00:59 CET 2011 x86_64
GNU/Linux
$ cat ./scripts/startup.sh
#!/bin/bash
# $Id: startup.sh 1593 2011-02-09 14:48:16Z latu $
#RedOnBlack='\E[31;40m'
RedOnBlack='\E[31m'
vm=$1
shift
memory=$1
shift
port=$1
shift
if [[ -z "$vm" || -z "$memory" || -z "$port" ]]
then
echo "ERREUR : paramètre manquant"
echo "Utilisation : $0 <fichier image> <quantité mémoire en Mo> <port
commutateur [2..32]>"
exit 1
fi
if (( $memory < 128 ))
then
echo "ERREUR : quantité de mémoire RAM insuffisante"
echo "La quantité de mémoire en Mo doit être supérieure ou égale à
128"
exit 1
fi
macaddress="52:54:00:12:34:$port"
echo -e "$RedOnBlack"
echo "~> Machine virtuelle : $vm"
echo "~> Mémoire RAM : $memory"
echo "~> Port commutateur : $port"
echo "~> Adresse MAC : $macaddress"
tput sgr0
# -vga vmware \
kvm \
-daemonize \
-name $vm \
-m $memory \
-rtc base=localtime,clock=host \
-drive file=$vm,if=virtio,media=disk,boot=on \
-k fr \
-usb -usbdevice tablet \
-net vde,vlan=1,sock=/var/run/vde2/tap0.ctl,port=$port \
-net nic,vlan=1,model=virtio,macaddr=$macaddress \
$*
HTH,
--
- Philippe Latu
philippe.latu(at)linux-france.org
http://www.linux-france.org/~platu
(GPG|PGP) KeyId 0x742A6424 - http://www.linux-france.org/~platu/key.asc
signature.asc
Description: This is a digitally signed message part.

