~paelzer/uvtool:specify-machine-type

Last commit made on 2018-07-16
Get this branch:
git clone -b specify-machine-type https://git.launchpad.net/~paelzer/uvtool
Only Christian Ehrhardt  can upload to this branch. If you are Christian Ehrhardt  please log in for upload directions.

Branch merges

Branch information

Name:
specify-machine-type
Repository:
lp:~paelzer/uvtool

Recent commits

db528ec... by Christian Ehrhardt 

man: describe implications and defaults of --machine-type

Signed-off-by: Christian Ehrhardt <email address hidden>

26429e5... by Christian Ehrhardt 

man: fix rendering page of option after --machine-type

Signed-off-by: Christian Ehrhardt <email address hidden>

2790445... by Christian Ehrhardt 

kvm: add --machine-type option (LP: #1775645)

With the upstream discussion aournd switching the qemu default as well
as more and more people wanting to work with PCIe uvtool should have
a way to override the default machine type.

This adds an argument to do so, the rest will as usual be filled in by
libvirt as needed (e.g. PCIe Bus structure).

Signed-off-by: Christian Ehrhardt <email address hidden>

d2a86dc... by Robie Basak

Merge remote-tracking branch 'paelzer/fix-arm-template'

cf5c51e... by Christian Ehrhardt 

fix arm template nvram path

The body of that element defines a path where the per-guest custom copy
should be stored.
That has two issues:
 1. multiple guests would clash
 2. the path could be not writable by default

Fortunately if just not specified at all libvirt will make sane
defaults.

Signed-off-by: Christian Ehrhardt <email address hidden>

74bc0cf... by Christian Ehrhardt 

kvm: add --host-passthrough option

This allows users of uvtool to easily change from the compatibility
focused default cpu type to host-passthrough which will expose as much
as possible to the guest.

Anything in between is too specific for uvtool and can be setup via
libvirt after creating the guest.

Signed-off-by: Christian Ehrhardt <email address hidden>

b65913b... by Christian Ehrhardt 

template-s390x: drop non supported cpu features

This does not cause any issues, but apic, pae and such are just not
existant on s390x. So there might be a case in the future were having
these int he template becomes a problem, therefore remove them now.

Signed-off-by: Christian Ehrhardt <email address hidden>

aa7a10f... by Christian Ehrhardt 

kvm: fix and explain the usage of undefineFlags

TL;DR - undefineFlags(libvirt.VIR_DOMAIN_UNDEFINE_NVRAM) makes sure we
can actually undefine aarch64 guests which have nvram.

Signed-off-by: Christian Ehrhardt <email address hidden>

6140c36... by Christian Ehrhardt 

kvm: make logging guest console on s390x fatal

If explicitly requested this is not a warning but an error.

Signed-off-by: Christian Ehrhardt <email address hidden>

2cdad7a... by Christian Ehrhardt 

kvm: rename set_arch_defaults to get_template_path

THis was doing some set actions while in development, but as rbasak
pointed out currently is only a get function.

Signed-off-by: Christian Ehrhardt <email address hidden>