diff --git a/src/vmm/XenDriver.cc b/src/vmm/XenDriver.cc index 7639cbbe0e..ad35402913 100644 --- a/src/vmm/XenDriver.cc +++ b/src/vmm/XenDriver.cc @@ -122,7 +122,7 @@ int XenDriver::deployment_description( num = vm->get_template_attribute("OS",attrs); - if ( num >= 0 ) + if ( num > 0 ) { const VectorAttribute * os;