[Libvirt-cim] [PATCH] Add domain ref checking to isMigratable

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Mar 12 22:37:44 UTC 2008


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1205340424 25200
> # Node ID 42b808d88849cbc642af67b2769b120624f66a42
> # Parent  b739fc9b13320e07a39f3932396c8411c2d4ad75
> Add domain ref checking to isMigratable
> 
> Tested by adding an invalid key to the ComputerSystem REF, which would
> pass before.  It now fails and points out the offending key, as expected.
> 
> Signed-off-by: Dan Smith <danms at us.ibm.com>
> 
> diff -r b739fc9b1332 -r 42b808d88849 src/Virt_VSMigrationService.c

Virt_VSMigrationService doesn't link to Virt_ComputerSystem, so I get a 
symbol error when I tried to test this.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list