[libvirt] [PATCH] qemu:conf: introduce a function to delete vcpu sched

lhuang lhuang at redhat.com
Thu Jun 25 01:49:28 UTC 2015


On 06/24/2015 08:51 PM, Peter Krempa wrote:
> On Wed, Jun 24, 2015 at 16:44:22 +0800, Luyao Huang wrote:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1235180
>>
>> We have API allow vpu to be deleted, but an vcpu may be
>> included in some domain vcpu sched, so add a new API to
>> allow removing an iothread from some entry.
>>
>> Split the virDomainIOThreadSchedDelId to reuse some code.
>>
>> Signed-off-by: Luyao Huang <lhuang at redhat.com>
>> ---
>>   src/conf/domain_conf.c   | 48 ++++++++++++++++++++++++++++++++++--------------
>>   src/conf/domain_conf.h   |  1 +
>>   src/libvirt_private.syms |  1 +
>>   src/qemu/qemu_driver.c   |  6 ++++--
>>   4 files changed, 40 insertions(+), 16 deletions(-)
>>
> I'm going to refactor the data structures that are storing the thread
> scheduler data which will inherently fix this issue so even if we apply
> this patch it will be basically reverted very soon.

Yes, i see your comment in this bug (unfortunately this is after i send 
this patch :) ), i agree no need apply this patch if you will fix that 
issue together during refactor.

Thanks for your quick review.

> Peter

Luyao




More information about the libvir-list mailing list