# File lib/virt/guest.rb, line 47 def stop(force=false) raise "Guest not created, can't stop" if new? force ? @domain.destroy : @domain.shutdown !running? rescue Libvirt::Error # domain is not running true end