Re: [libvirt] [PATCH v2 16/21] conf: Don't store vcpusched orthogonally to other vcpu info

2016-02-02 Thread Ján Tomko
On Fri, Jan 29, 2016 at 05:02:11PM +0100, Peter Krempa wrote: > Due to bad design the vcpu sched element is orthogonal to the way how > the data belongs to the corresponding objects. Now that vcpus are a > struct that allow to store other info too, let's convert the data to the > sane structure. >

[libvirt] [PATCH v2 16/21] conf: Don't store vcpusched orthogonally to other vcpu info

2016-01-29 Thread Peter Krempa
Due to bad design the vcpu sched element is orthogonal to the way how the data belongs to the corresponding objects. Now that vcpus are a struct that allow to store other info too, let's convert the data to the sane structure. The helpers for the conversion are made universal so that they can be