[pve-devel] qemu2.7: cpu hotplug && hot-unplug v1

Dietmar Maurer dietmar at proxmox.com
Mon Sep 12 16:37:33 CEST 2016


> I think a basic implementation could be:
> 
> 
>    while (l) {
>         PVEBackupDevInfo *di = (PVEBackupDevInfo *)l->data;
>         l = g_list_next(l);
> +    AioContext *aio_context;
> +    aio_context = blk_get_aio_context(di->bs);
> +    aio_context_acquire(aio_context);
> +    bdrv_set_aio_context(di->target, aio_context);

Seems there is some documentation here:

https://github.com/qemu/qemu/blob/master/docs/multiple-iothreads.txt




More information about the pve-devel mailing list