New APIs: add-drive{,-ro}-with-if allows you to set QEMU block emulation.
authorRichard Jones <rjones@redhat.com>
Fri, 12 Feb 2010 11:47:18 +0000 (11:47 +0000)
committerRichard Jones <rjones@redhat.com>
Fri, 12 Feb 2010 11:47:18 +0000 (11:47 +0000)
commit946dc06bb861a38cae959416362e4561c9e4829a
treef2b53c33ed7b9b32b676713100c9b9d8b18404b7
parent48a9ff73319d0d065bff2b9374c84bcf6438cb20
New APIs: add-drive{,-ro}-with-if allows you to set QEMU block emulation.

The default if=... comes from configure time (currently it
defaults to if=virtio).

This change allows you to set the QEMU block emulation.

We don't think this will be used very often, but virt-v2v
requires it in order to work around a subtle problem with
running 'mkinitrd' in an appliance attached to a guest.
src/generator.ml
src/guestfs.c