[libvirt] [PATCH] systemd: Escape machine name for machined

Michal Privoznik mprivozn at redhat.com
Thu Nov 26 14:08:27 UTC 2015


On 26.11.2015 14:24, Martin Kletzander wrote:
> According to the documentation, CreateMachine accepts only 7bit ASCII
> characters in the machinename parameter, so let's make sure we can start
> machines with unicode names with systemd.  We already have a function
> for that, we just forgot to use it.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1062943
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1282846
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  src/util/virsystemd.c  | 12 ++++++++----
>  tests/virsystemdtest.c | 45 ++++++++++++++++++++++++++++++++++++++++++---
>  2 files changed, 50 insertions(+), 7 deletions(-)
> 

ACK

Michal




More information about the libvir-list mailing list