[virt-tools-list] how to change machine type in virt-manager
Marc Haber
mh+virt-tools-list at zugschlus.de
Mon Nov 28 11:41:17 UTC 2016
Hi Martin,
thanks for your answer
On Mon, Nov 28, 2016 at 11:16:38AM +0100, Martin Kletzander wrote:
> On Sun, Nov 27, 2016 at 02:12:14PM +0100, Marc Haber wrote:
> >according to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845964
> >and my own experiences, the combo of qemu, libvirt and virt-manager
> >that is currently in Debian unstable causes guests to hang during
> >reboot if the machine type is set to some older value like pc-0.14.
> >pc-i440fx-2.7 works fine.
> >
>
> Well, I know you are looking for a workaround, but fixing the bug would
> be the best thing to do in the long run.
Of course, but I am not in a position to do this.
> Ugly workaround (so you don't have to do it manually) would be:
>
> virsh dumpxml $domain | \
> xmlstarlet ed -u '/domain/os/type/@machine' -v pc-i440fx-2.7 | \
> virsh define /dev/stdin
Is the machine type really a setting that doesn't affect any other
setting and can be changed freely and arbitrarily? Or are we working
here with a "if it doesn't break obviously it cannot be wrong" stance?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
More information about the virt-tools-list
mailing list