diff --git a/src/vmm/LibVirtDriverKVM.cc b/src/vmm/LibVirtDriverKVM.cc index 1c58133d82..9a2c784a18 100644 --- a/src/vmm/LibVirtDriverKVM.cc +++ b/src/vmm/LibVirtDriverKVM.cc @@ -970,7 +970,7 @@ int LibVirtDriver::deployment_description_kvm( { get_default("SPICE_OPTIONS", spice_options); - if (spice_options.empty()) + if (!spice_options.empty()) { file << "\t\t" << spice_options << endl; }