Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
virsh edit doesn't save changes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 215
Location: Dresden

PostPosted: Wed Feb 20, 2019 10:13 am    Post subject: virsh edit doesn't save changes Reply with quote

I started /etc/init.d/libvirtd as su and tried to edit my windows10 xml via:

Code:
virsh edit windows10

Then I made my changes in vi and did a :wq and it exited with:

Code:
Domain windows10 XML configuration edited.


If I then look in /etc/libvirt/qemu/windows10.xml it did not safe my changes... the file has not changed at all.

Any ideas what I am doing wrong?
_________________
-=human without Windows®=-
sorry for my bad english!
Back to top
View user's profile Send private message
axl
l33t
l33t


Joined: 11 Oct 2002
Posts: 683
Location: Romania

PostPosted: Wed Feb 20, 2019 2:22 pm    Post subject: Reply with quote

It doesn't save while machine is running. I assume after you stop the VM, the configuration will update itself.
Back to top
View user's profile Send private message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 215
Location: Dresden

PostPosted: Fri Feb 22, 2019 11:55 am    Post subject: Reply with quote

Thanks it works now. If I remember correctly my vm was not running, just the service libvirtd was running. Anyway, it works now, but I also reinstalled the whole package and reworked my configs.
_________________
-=human without Windows®=-
sorry for my bad english!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum