1. 23 11月, 2017 2 次提交
    • P
      qemu: command: Split out geometry frontend attribute formatting from -drive · 401ddfa4
      Peter Krempa 提交于
      Historically we've formatted a lot of the attributes of a disk (disk
      geometry, etc) with -drive. Since we use -device now, they should be
      formatted there. Extract them to a separate function for keeping
      compatibility with SDcards which still use only -drive.
      
      Start this by moving the geometry into a separate function.
      401ddfa4
    • P
      qemu: domain: Don't call namespace setup for storage already accessed by vm · 3746a38e
      Peter Krempa 提交于
      When doing block commit we need to allow write for members of the
      backing chain so that we can commit the data into them.
      
      qemuDomainDiskChainElementPrepare was used for this which since commit
      786d8d91 calls qemuDomainNamespaceSetupDisk which has very adverse
      side-effects, namely it relabels the nodes to the same label it has in
      the main namespace. This was messing up permissions for the commit
      operation since its touching various parts of a single backing chain.
      
      Since we are are actually not introducing new images at that point add a
      flag for qemuDomainDiskChainElementPrepare which will refrain from
      calling to the namespace setup function.
      
      Calls from qemuDomainSnapshotCreateSingleDiskActive and
      qemuDomainBlockCopyCommon do introduce new members all calls from
      qemuDomainBlockCommit do not, so the calls are anotated accordingly.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1506072
      3746a38e
  2. 22 11月, 2017 2 次提交
  3. 21 11月, 2017 3 次提交
  4. 20 11月, 2017 10 次提交
  5. 18 11月, 2017 23 次提交