Re: ldomctl: Fail on duplicate vcpu and memory parameters

2020-05-23 Thread Klemens Nanni
On Sat, May 23, 2020 at 02:38:03PM +0200, Mark Kettenis wrote: > Looks reasonable. I'd change the message for iodevice though to "iodevice %s > already assigned". Done, thanks.

Re: ldomctl: Fail on duplicate vcpu and memory parameters

2020-05-23 Thread Mark Kettenis
> Date: Sat, 23 May 2020 11:35:46 +0200 > From: Klemens Nanni > > On Mon, Jan 13, 2020 at 12:59:23PM +0100, Klemens Nanni wrote: > > On Sun, Jan 05, 2020 at 07:09:46PM +0100, Klemens Nanni wrote: > > > Domains get to define their cores and memory only once unlike the other > > > parameters of whi

Re: ldomctl: Fail on duplicate vcpu and memory parameters

2020-05-23 Thread Klemens Nanni
On Mon, Jan 13, 2020 at 12:59:23PM +0100, Klemens Nanni wrote: > On Sun, Jan 05, 2020 at 07:09:46PM +0100, Klemens Nanni wrote: > > Domains get to define their cores and memory only once unlike the other > > parameters of which it makes sense to have more than one. > > > > $ cat dup.conf > >

Re: ldomctl: Fail on duplicate vcpu and memory parameters

2020-01-13 Thread Klemens Nanni
On Sun, Jan 05, 2020 at 07:09:46PM +0100, Klemens Nanni wrote: > Domains get to define their cores and memory only once unlike the other > parameters of which it makes sense to have more than one. > > $ cat dup.conf > domain primary { > vcpu 2 > vcpu 2 >

ldomctl: Fail on duplicate vcpu and memory parameters

2020-01-05 Thread Klemens Nanni
Domains get to define their cores and memory only once unlike the other parameters of which it makes sense to have more than one. $ cat dup.conf domain primary { vcpu 2 vcpu 2 } $ ldomctl init-system -n dup.conf ; echo $? 0