Re: [Qemu-block] [PATCH v3 05/11] blockjob: Add 'job_id' parameter to block_job_create()

2016-07-02 Thread Max Reitz
On 01.07.2016 17:52, Alberto Garcia wrote: > When a new job is created, the job ID is taken from the device name of > the BDS. This patch adds a new 'job_id' parameter to let the caller > provide one instead. > > This patch also verifies that the ID is always unique and well-formed. > This causes

[Qemu-block] [PATCH v3 05/11] blockjob: Add 'job_id' parameter to block_job_create()

2016-07-01 Thread Alberto Garcia
When a new job is created, the job ID is taken from the device name of the BDS. This patch adds a new 'job_id' parameter to let the caller provide one instead. This patch also verifies that the ID is always unique and well-formed. This causes problems in a couple of places where no ID is being