Re: [libvirt] [PATCH v2] conf: virDomainDefValidateInternal prohibit some characters in shmem name

2018-08-01 Thread John Ferlan
On 08/01/2018 06:24 AM, skob...@redhat.com wrote: > On Fri, 2018-07-27 at 13:19 -0400, John Ferlan wrote: >> You shouldn't drop libvir-list when you reply... > Sorry, I dropped it by mistake. >> >> On 07/27/2018 06:35 AM, skob...@redhat.com wrote: >>> On Mon, 2018-07-23 at 17:32 -0400, John

Re: [libvirt] [PATCH v2] conf: virDomainDefValidateInternal prohibit some characters in shmem name

2018-08-01 Thread skobyda
On Fri, 2018-07-27 at 13:19 -0400, John Ferlan wrote: > You shouldn't drop libvir-list when you reply... Sorry, I dropped it by mistake. > > On 07/27/2018 06:35 AM, skob...@redhat.com wrote: > > On Mon, 2018-07-23 at 17:32 -0400, John Ferlan wrote: > > > > > > On 07/12/2018 09:10 AM, Simon

Re: [libvirt] [PATCH v2] conf: virDomainDefValidateInternal prohibit some characters in shmem name

2018-07-23 Thread John Ferlan
On 07/12/2018 09:10 AM, Simon Kobyda wrote: > XML shmem name will not include character '/', and will not be equal to > strings > "." or "..", as shmem name is used in a path. Validate that the provided XML shmem name is not directory specific "." or ".." names as well as ensuring that there

Re: [libvirt] [PATCH v2] conf: virDomainDefValidateInternal prohibit some characters in shmem name

2018-07-12 Thread Simon Kobyda
Signed-off-by: Simon Kobyda On Thu, Jul 12, 2018 at 3:10 PM Simon Kobyda wrote: > XML shmem name will not include character '/', and will not be equal to > strings > "." or "..", as shmem name is used in a path. > > https://bugzilla.redhat.com/show_bug.cgi?id=1192400 > --- > > Changes in V2 >

[libvirt] [PATCH v2] conf: virDomainDefValidateInternal prohibit some characters in shmem name

2018-07-12 Thread Simon Kobyda
XML shmem name will not include character '/', and will not be equal to strings "." or "..", as shmem name is used in a path. https://bugzilla.redhat.com/show_bug.cgi?id=1192400 --- Changes in V2 - Added error reports - Error situation will happen only if shmem name is equal to