[libvirt] [RFC PATCHv4 13/15] qemu: consolidate migration to file code

Eric Blake eblake at redhat.com
Fri Mar 25 21:57:20 UTC 2011


On 03/10/2011 05:16 AM, Daniel P. Berrange wrote:
> On Wed, Mar 09, 2011 at 07:18:31PM -0700, Eric Blake wrote:
>> This points out that core dumps (still) don't work for root-squash
>> NFS, since the fd is not opened correctly.  This patch should not
>> introduce any functionality change, it is just a refactoring to
>> avoid duplicated code.
>>
>> * src/qemu/qemu_driver.c (qemuDomainMigrateToFile): New function.
>> (qemudDomainSaveFlag, doCoreDump): Use it.
> 
> I think it could be worth moving this method into qemu_migrate.h/.c
> now it is decoupled from the public API objects/methods.

Agreed; and will do that for v5 coming up once my NFS testing completes.

> 
> ACK to the refactoring regardless.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110325/2e02bb0a/attachment-0001.sig>


More information about the libvir-list mailing list