• M
    qemuDomainCreateDevice: Be more careful about device path · dd78da09
    Michal Privoznik 提交于
    Again, not something that I'd hit, but there is a chance in
    theory that this might bite us. Currently the way we decide
    whether or not to create /dev entry for a device is by marching
    first four characters of path with "/dev". This might be not
    enough. Just imagine somebody has a disk image stored under
    "/devil/path/to/disk". We ought to be matching against "/dev/".
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    dd78da09
qemu_domain.c 240.7 KB