[PATCH 0/6] qemu: Use -blockdev for pflash (blockdev-add saga)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To avoid using -drive as much as possible convert PFLASH to use
-blockdev as well.

Since -blockdev is not enabled yet use the following qemu namespace XML
override to enable it for testing:

  <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
    ...
    <qemu:capabilities>
      <qemu:add capability='blockdev'/>
    </qemu:capabilities>
  </domain>

Peter Krempa (6):
  qemu: command: Extract formatting of -drive for pflash
  qemu: domain: Store virStorageSources representing pflash backing
  qemu: domain: Introduce helper to convert <loader> into
    virStorageSource
  qemu: command: Build  -blockdev-s for backing of pflash
  qemu: command: Build the 'pflash' drives via -machine
  qemu: Instantiate pflash via -machine when using blockdev

 src/qemu/qemu_command.c | 136 ++++++++++++++++++++++++++++++----------
 src/qemu/qemu_domain.c  |  63 +++++++++++++++++++
 src/qemu/qemu_domain.h  |   9 +++
 src/qemu/qemu_process.c |   6 ++
 4 files changed, 180 insertions(+), 34 deletions(-)

-- 
2.23.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux