virDomainDefParseXML -> virDomainDiskDefParseXML -> virDomainDeviceInfoParseXML -> virDomainDeviceAddressParseXML -> virPCIDeviceAddressParseXML
1 | if (devaddr) { |
qemuDomainSaveInternal ->
1 | if (!(cookie = qemuDomainSaveCookieNew(vm))) |
1 | rc = qemuMonitorMigrateToFd(priv->mon, |
qemu should support sendFD (qemu is should using a unix socket monitor)
qemu monitor get fd (SCM_RIGHTS)
SCM_RIGHTS
Send or receive a set of open file descriptors from
another process. The data portion contains an integer
array of the file descriptors.
1 | /* Perform the migration */ |
1 | qemuMonitorJSONMigrate |