mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-24 15:26:36 -06:00
add RAM filesystems browse support for lxc container
LXC container could use in-memory filesystem, which do not have source section. Currently, virt-manager will complain if dev.source is null. This patch will fix this issue. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
parent
a9c42724cd
commit
8f661290e3
@ -3293,7 +3293,7 @@ class vmmDetails(vmmGObjectUI):
|
||||
|
||||
self.widget("fs-wrpolicy").set_text(dev.wrpolicy or _("Default"))
|
||||
|
||||
self.widget("fs-source").set_text(dev.source)
|
||||
self.widget("fs-source").set_text(dev.source or _("RAM"))
|
||||
self.widget("fs-target").set_text(dev.target)
|
||||
if dev.readonly:
|
||||
self.widget("fs-readonly").set_text("Yes")
|
||||
|
Loading…
Reference in New Issue
Block a user