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

Dietmar Maurer dietmar at proxmox.com
Mon Sep 12 16:42:06 CEST 2016


> >>Due to scope rules in C The declaration of aio_context must be moved out 
> >>of the while block. I would suggest the following code then: 
> >>AioContext *aio_context = NULL; 
> 
> Yes, sure. I just post a basic sample ;)

I also wonder if it would make sense to run the backup code
inside its own thread? I guess this would make the code simpler.




More information about the pve-devel mailing list