[Please, don't top post on technical lists.] At Thu, 17 Oct 2013 08:40:52 +0500, Umar Draz wrote: > > HI, > > I am using KVM Could you tell us a bit more about your setup and show your code? Which version of libvirt are you using? My guess would be that you don't have shared storage and are using the VIR_MIGRATE_NON_SHARED_DISK flag when migrating, which only works if the domain is running. In that case, you could start your domain in the 'paused' state, migrate and then destroy it. > On Tue, Oct 15, 2013 at 4:11 PM, Daniel P. Berrange <berrange@xxxxxxxxxx>wrote: > > > On Sun, Oct 13, 2013 at 03:20:31PM +0500, Umar Draz wrote: > > > Hi All > > > > > > I am trying to migrate offline domain on other URI but its not working > > > > > > due to this error > > > > > > Failure!Libvirt last error: Requested operation is not valid: domain is > > not > > > running > > > > > > I tried to use this option but not working > > > > > > VIR_MIGRATE_OFFLINE > > > > > > Please anybody help me? > > > > You don't mention what hypervisor you're using. IIRC only the QEMU driver > > supports the VIR_MIGRATE_OFFLINE flag. -- AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany Phone: +49 341 265 310 19 Web:<http://www.av-test.org> Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076) Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list