Update the function's comment, which was missed when removing use of the driver lock everywhere. Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx> --- src/libxl/libxl_driver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c index 99643e3..8e4242a 100644 --- a/src/libxl/libxl_driver.c +++ b/src/libxl/libxl_driver.c @@ -1812,8 +1812,9 @@ libxlDomainGetState(virDomainPtr dom, return ret; } -/* This internal function expects the driver lock to already be held on - * entry and the vm must be active. */ +/* + * virDomainObjPtr must be locked on invocation + */ static int libxlDoDomainSave(libxlDriverPrivatePtr driver, virDomainObjPtr vm, const char *to) -- 1.8.1.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list