[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v2 3/3] xen-init-dom0: set Dom0 UUID if requested
- To: Wei Liu <wei.liu2@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Edwin Török <edvin.torok@xxxxxxxxxx>
- Date: Thu, 15 Nov 2018 15:14:11 +0000
- Autocrypt: addr=edvin.torok@xxxxxxxxxx; prefer-encrypt=mutual; keydata= xsFNBE/XmuABEADfU5X//TvfxULrckWhv9zTJeBjZZJfzUv4jP8uCXHdLccD6e+PxyZ7Z5Cf Y2rvkDgmDCtso0r7qax9oimb98vzsxzBXaOFw6Sx+y9dO4zYE34imxxULJGNiOSm2FKoc0UF bxPlb1/Les/yFpr9KE/bftC0gFQE1uF0QKKtiUqfNiJVPtDLRX4nWjeSf21WvsZOcsyUczDs C8tEsPWLw1RnXEqzoZTZ7Uukch7YnqMGpbwSgOrNHmrTQvuNtcsiuqibLwizsb6e8vY1OWZ/ YKSZ6UBloNYNHSXmO5kFGbeaFu/6CnLFoE8DZxIAMA2hVB66J+vV5KP8hn4kcPgCm1Z9Dm0K 0SkAaPLcxiVnzGCJP6fqDwBIz9Wt2eYBfvQ2FHBGzkmFBt7gXdztAkEffWOC/Y5XR1lxXbiQ dTx2a871DJTc4CMAChNI6yP6Zjibzcm2okgKPrY4BJWojg0riqtBxA+LVjRspcm9SnQosBDR rCKgglrowYhbD040WIxc8x7il/YmwFwC+/X2hfQPPGf0U/lxXpA6+gissGhbDZpzV1G3O3uI Ku1IWZVdN5XQOjmGP/osqGPueL3JtQv56Z29HuEpJnH7NxRwKlhK0Ug0HbP5fn4K6CqRHTO+ zoXy0qbOy31arbrqJ/8zy0Y8K74rjxAcS3XQeOE9rxsJreoH7wARAQABzSBUw7Zyw7ZrIEVk d2luIDxlZHdpbkBldG9yb2submV0PsLBswQTAQoAXQIbAwIeAQIXgAIZAQQLCQgHBRUKCAkL BRYAAgMBBQkWzY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Xkulm7YPC AaxOWsb46DuHpW+mndC9fBRTVBn0OCcVFNrWfBjn+AYep05BhnRemocWweqj6ynFNBx4sm+g 9+7vClPkJR3cL3sPuy/pLsGT3/jpOrKSb0q8
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>
- Delivery-date: Thu, 15 Nov 2018 15:14:21 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Openpgp: preference=signencrypt
On 15/11/2018 14:30, Wei Liu wrote:
> Read from XEN_CONFIG_DIR/dom0-uuid. If it contains a valid UUID, set
> it for Dom0.
>
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
> v2:
> 1. add missing "goto out"
> 2. print file names more
> 3. also print errno in xc_interface_open error message
> 4. take care of short-read
> ---
> tools/examples/Makefile | 1 +
> tools/examples/README | 2 ++
> tools/examples/dom0-uuid | 0
> tools/helpers/Makefile | 3 +-
> tools/helpers/xen-init-dom0.c | 65
> +++++++++++++++++++++++++++++++++++++++++--
> 5 files changed, 67 insertions(+), 4 deletions(-)
> create mode 100644 tools/examples/dom0-uuid
I can't spot anything wrong here.
Acked-by: Edwin Török <edvin.torok@xxxxxxxxxx>
Best regards,
--Edwin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|