Re: Updating domains definitions via API

2022-05-16 Thread Michal Prívozník
On 5/14/22 21:23, Darragh Bailey wrote: > > 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/de

Re: Problem calling 'virsh' in a script

2022-05-16 Thread Michal Prívozník
On 5/15/22 17:48, Digimer wrote: > Hi all, > >   I've got a series of programs that monitor various things on a CentOS > Stream 8 VM host. All of these scripts work when called directly. > However, when I have a parent program that calls all the little programs > in series, I found that some virsh

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 > > wrote: > > > > Unfortunately trying to call this via ruby-libvirt doesn't appear to > > behave as expected. It app

Re: Updating domains definitions via API

2022-05-16 Thread Michal Prívozník
On 5/16/22 12:46, Darragh Bailey wrote: > > 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> > >

Re: Updating domains definitions via API

2022-05-16 Thread Darragh Bailey
On Mon, 16 May 2022 at 12:30, Michal Prívozník wrote: > I mean, fixing this particular problem is trivial. But what's not as > trivial is fixing ALL occurrences of this problem (where an > attribute/element is ignored because of something we've parsed earlier). > Mostly because we don't know what

Re: Updating domains definitions via API

2022-05-16 Thread Michal Prívozník
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 virDomainDefineXMLFlags could consider accepting a flag to verify the > returned domain XML is equivalent