Fix build after commit 829bce17

Pushing under build-breaker rule.
This commit is contained in:
Jim Fehlig 2011-09-14 17:57:55 -06:00
parent 0257ba8f9f
commit 1c90642f85

View File

@ -8881,6 +8881,7 @@ qemuDomainMigrateGetMaxSpeed(virDomainPtr dom,
{
struct qemud_driver *driver = dom->conn->privateData;
virDomainObjPtr vm;
qemuDomainObjPrivatePtr priv;
int ret = -1;
virCheckFlags(0, -1);
@ -8897,7 +8898,8 @@ qemuDomainMigrateGetMaxSpeed(virDomainPtr dom,
goto cleanup;
}
*bandwidth = vm->privateData->migMaxBandwidth;
priv = vm->privateData;
*bandwidth = priv->migMaxBandwidth;
ret = 0;
cleanup: