Adding custom xml:ns to definitions for additional application

2023-05-19 Thread Darragh Bailey
rant-libvirt/vagrant-libvirt/issues/1738 summaries what I'm hoping to do. -- Darragh Bailey "Nothing is foolproof to a sufficiently talented fool"

Re: redirect console to file and restore user owner on domain destroy

2022-11-21 Thread Darragh Bailey
ore the ownership back to root. Obviously it might be better if I switched to sending to a named pipe or a tcp server. Not clear if either of those make it easier for a console to be accessible while still logging the output. -- Darragh Bailey On Fri, 18 Nov 2022 at 13:26, Darragh Bailey wrote:

redirect console to file and restore user owner on domain destroy

2022-11-18 Thread Darragh Bailey
of returning it to the original user. Is there any way with libvirt to have the file owned by the user after the VM is destroyed (doesn't matter if it's owned by root at runtime), when connecting using qemu:///system? -- Darragh Bailey

Re: Updating domains definitions via API

2022-05-17 Thread Darragh Bailey
On Mon 16 May 2022, 14:32 Michal Prívozník, wrote: > On 5/16/22 14:52, Darragh Bailey wrote: > > > So perhaps this is less a bug with the loader/nvram XML element handling > > and more a documentation bug and a possible enhancement that possibly > > the virDomainDefin

Re: Updating domains definitions via API

2022-05-16 Thread Darragh Bailey
with the loader/nvram XML element handling and more a documentation bug and a possible enhancement that possibly the virDomainDefineXMLFlags could consider accepting a flag to verify the returned domain XML is equivalent as a general fix for those applications that would find this useful? -- Darragh Bailey "Nothing is foolproof to a sufficiently talented fool"

Re: Updating domains definitions via API

2022-05-16 Thread Darragh Bailey
On Mon 16 May 2022, 10:10 Michal Prívozník, wrote: > On 5/14/22 21:23, Darragh Bailey wrote: > > > > On Fri, 13 May 2022 at 00:17, Darragh Bailey > <mailto:daragh.bai...@gmail.com>> wrote: > > > > Unfortunately trying to call this via ruby-libvirt doesn

Re: Updating domains definitions via API

2022-05-15 Thread Darragh Bailey
Hi, On Sat, 14 May 2022 at 23:42, Darragh Bailey wrote: > Hi, > > On Sat 14 May 2022, 21:11 Laine Stump, wrote: > >> Caveat - I'm completely unfamiliar with ruby and the libvirt-ruby API >> bindings. >> >> If there is a problem that causes the domain

Re: Updating domains definitions via API

2022-05-14 Thread Darragh Bailey
Hi, On Sat 14 May 2022, 21:11 Laine Stump, wrote: > Caveat - I'm completely unfamiliar with ruby and the libvirt-ruby API > bindings. > > If there is a problem that causes the domain config to not be updated, > libvirt will return an error. So I would suspect one of the two things > is happening

Re: Updating domains definitions via API

2022-05-14 Thread Darragh Bailey
On Fri, 13 May 2022 at 00:17, Darragh Bailey wrote: > Hi, > > On Thu 12 May 2022, 21:34 Laine Stump, wrote: > >> The virDomainDefineXMLFlags API (and also the older/deprecated >> virDomainDefineXML API) doesn't require that the domain first be >> undefine

Re: Updating domains definitions via API

2022-05-12 Thread Darragh Bailey
ssary to pass the flag to remove on undefine. Hopefully nget to test around some of this later, just not sure I know enough to ensure I check all behaviours. -- Darragh Bailey "Nothing is foolproof to a sufficiently talented fool" - unknown >

Updating domains definitions via API

2022-05-12 Thread Darragh Bailey
s to the edit functionality? -- Darragh Bailey "Nothing is foolproof to a sufficiently talented fool" - unknown