Re: [libvirt] [PATCH] virsh: Make secret's usage can be modified if the usage isn't used

20 Apr
2014
20 Apr
'14
10:50 p.m.
Ping!
When a secret's usage is specified, for example: <secret ephemeral='no' private='no'> <uuid>540c56d1-f4b3-5031-b76d-33e99e9b5c64</uuid> <usage type='volume'> <volume>/tmp/test</volume> </usage> </secret> If another volume '/tmp/test1' isn't used, the current secret's usage can bo modified to '/tmp/test1'. If '/tmp/test1' has been used for another secret, error message will be outputed.
Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com> --- src/secret/secret_driver.c | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-)
4155
Age (days ago)
4155
Last active (days ago)
0 comments
1 participants
participants (1)
-
Li, Yang