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

Peter Krempa pkrempa at redhat.com
Wed Jun 24 12:51:05 UTC 2015


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.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150624/4a028c0b/attachment-0001.sig>


More information about the libvir-list mailing list