On Wed, Mar 07, 2018 at 01:26:39PM +0200, Arik Hadas wrote:
> Interesting, that contradicts my intuition - I would imagine that most of
> the things are actually known (the things that appear in the top-level part
> of the domain xml: memory size, memory size, num of CPUs, name,.. ) and
> only things that depend on the content of the disks or things that depend
> on installations during the conversion are unknown.
> But anyway, it is enough IMO to send the name, memory, CPU and size of the
> disks to present something useful to the user and make the necessary
> validations at that point.

Some of those things are known, but they didn't seem to me to be that
interesting for oVirt to know in advance.  In any case what's
precisely known before conversion is:

(1) The 'source' struct and sub-structs:


(2) The 'overlay' struct (one per disk):


Note only virtual disk size is known, which is near to useless for
provisioning storage.

(3) The 'target' struct (one per disk):


What's unknown are guest capabilities (hence nothing about what
devices should be presented to the guest), inspection data, target bus
mapping, real size of disks, etc.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
Devel mailing list

Reply via email to