~danilo/uvtool:raw-disk-path

Last commit made on 2018-03-19
Get this branch:
git clone -b raw-disk-path https://git.launchpad.net/~danilo/uvtool
Only Данило Шеган can upload to this branch. If you are Данило Шеган please log in for upload directions.

Branch merges

Branch information

Name:
raw-disk-path
Repository:
lp:~danilo/uvtool

Recent commits

51c0768... by Данило Шеган

Forward-port --raw-disk-path argument to uvt-kvm create to allow using an existing partitions (eg. a LVM volume) for VM disks.

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>

dd099e0... by Christian Ehrhardt 

remove global UNDEF_FLAGS

Makes the code more readable and avoids scoping issues.
So far only arm uses nvram (and there it is save to always set the
removal flag).

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

45ecf11... by Christian Ehrhardt 

man: mention -L being unsupported on s390x

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