Aiming for Qemu 2.0 in 14.04

Doug Smythies dsmythies at telus.net
Thu Mar 13 23:55:11 UTC 2014


On 2014.03.13 15:30 Serge Hallyn wrote:
> Quoting Doug Smythies (dsmythies at telus.net):
>> On 2014.02.15 Serge Hallyn wrote:
>> 
>>> It would be great if people could start testing the version in
>>> this ppa where possible, as early as possible.
>> 
>> After Ubuntu desktop 14.04 actually started working, things have
>> been great until today.
>> 
>> Now, I can not get my VNC client to communicate with my Ubuntu Desktop
VM.

> This was after a guest update, or a host update?

It was after a host update. I did not change or update the quest.

> It might be worth grabbing the previous set of qemu 2.0 .debs from the
> ppa by hand, installing them with dpkg -i, and seeing if that fixes it.

I do not know how to do what you ask. I looked everywhere on launchpad
and could not find older .debs.

However, my previous ones were still in my cash:

doug at s15:~$ locate .deb | grep qemu
/var/cache/apt/archives/qemu-keymaps_2.0~git-20140228.d844a7b-0ubuntu1_all.d
eb
/var/cache/apt/archives/qemu-kvm_2.0~git-20140228.d844a7b-0ubuntu1_amd64.deb
/var/cache/apt/archives/qemu-system-common_2.0~git-20140228.d844a7b-0ubuntu1
_amd64.deb
/var/cache/apt/archives/qemu-system-x86_2.0~git-20140228.d844a7b-0ubuntu1_am
d64.deb
/var/cache/apt/archives/qemu-utils_2.0~git-20140228.d844a7b-0ubuntu1_amd64.d
eb

So I installed them. So I went from this (the formatting is going to mess up
when I send):

doug at s15:~$ dpkg -l | grep qemu
ii  ipxe-qemu                           1.0.0+git-20131111.c3d1e78-2ubuntu1
all          PXE boot firmware - ROM images for qemu
ii  qemu-keymaps                        2.0~git-20140312.dc9528f-0ubuntu1
all          QEMU keyboard maps
ii  qemu-kvm                            2.0~git-20140312.dc9528f-0ubuntu1
amd64        QEMU Full virtualization on x86 hardware (transitional package)
ii  qemu-system-common                  2.0~git-20140312.dc9528f-0ubuntu1
amd64        QEMU full system emulation binaries (common files)
ii  qemu-system-x86                     2.0~git-20140312.dc9528f-0ubuntu1
amd64        QEMU full system emulation binaries (x86)
ii  qemu-utils                          2.0~git-20140312.dc9528f-0ubuntu1
amd64        QEMU utilities 

To this (the formatting is going to mess up when I send):

doug at s15:~$ dpkg -l | grep qemu
ii  ipxe-qemu                           1.0.0+git-20131111.c3d1e78-2ubuntu1
all          PXE boot firmware - ROM images for qemu
ii  qemu-keymaps                        2.0~git-20140312.dc9528f-0ubuntu1
all          QEMU keyboard maps
ii  qemu-kvm                            2.0~git-20140228.d844a7b-0ubuntu1
amd64        QEMU Full virtualization on x86 hardware (transitional package)
ii  qemu-system-common                  2.0~git-20140228.d844a7b-0ubuntu1
amd64        QEMU full system emulation binaries (common files)
ii  qemu-system-x86                     2.0~git-20140228.d844a7b-0ubuntu1
amd64        QEMU full system emulation binaries (x86)
ii  qemu-utils                          2.0~git-20140228.d844a7b-0ubuntu1
amd64        QEMU utilities

And now everything is working fine (oh, I see I forgot to downgrade
qemu-keymaps...).

> If not, then it's safe to assume unity has changed something.

I do not think so, since that part did not change.

> Which -vga are you using?

Note sure what you mean by -vga. I use vmvga and only communicate with my
VMs via VNC (well, I use always install sshd on them as a backup way to talk
to it). The Cirrus driver has never ever worked for me, and as far as I
could determine from my readings, the older bug reports related to vmvga had
been fixed. I have been using it for months. This is the command I used to
create the vm:

sudo virt-install -n desk_tt -r 8192 --disk
path=/home/doug/img/desk_tt.img,bus=virtio,size=50 -c
trusty-desktop-20140302-amd64.iso --network bridge=br0,model=virtio
--video=vmvga --graphics vnc,listen=0.0.0.0 --noautoconsole -v --vcpus=4

However, and typically I use virsh edit afterwards and increase the vram to
16384, because by my math the default 9216 isn't enough. (I do not know how
to set it during install).

... Doug






More information about the ubuntu-server mailing list