monitor: Prevent removing fd from set during init
If an fd is added to an fd set via the command line, and it is notreferenced by another command line option (ie. -drive), then cleanit up after QEMU initialization is complete.
Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>...
qemu-config: Add new -add-fd command line option
This option can be used for passing file descriptors on thecommand line. It mirrors the existing add-fd QMP command whichallows an fd to be passed to QEMU via SCM_RIGHTS and added to anfd set.
This can be combined with commands such as -drive to link file...
block: add bdrv_query_info
Extract it out of the implementation of "info block".
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block: add bdrv_query_stats
qmp_query_blockstat cannot have errors, remove the Error argument andcreate a new public function bdrv_query_stats out of it.
block: add bdrv_open_backing_file
Mirroring runs without the backing file so that it can be copied outsideQEMU. However, we need to add it at the time the job is completed andQEMU switches to the target. Factor out the common bits of opening animage and completing a mirroring operation....
block: introduce new dirty bitmap functionality
Assert that write_compressed is never used with the dirty bitmap.Setting the bits early is wrong, because a coroutine might concurrentlyexamine them and copy incomplete data from the source.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
block: export dirty bitmap information in query-block
block: rename block_job_complete to block_job_completed
The imperative will be used for the QMP command.
block: add block-job-complete
While streaming can be dropped as soon as it progressed through the wholeimage, mirroring needs to be completed manually for two reasons: 1) so thatmanagement knows exactly when the VM switches to the target; 2) becausefor other use cases such as replication, we may leave the operation running...
block: introduce BLOCK_JOB_READY event
Even for jobs that need to be manually completed, management may wantto take care itself of the completion, not requiring the user to issuea command to terminate the job. In this case we want to avoid thatthey poll us continuously, waiting for completion to become available....
View all revisions | View revisions
Also available in: Atom