Skip to content
  • Balazs Lecz's avatar
    Add KVM chroot feature · 84c08e4e
    Balazs Lecz authored
    
    
    This patch adds a new boolean hypervisor parameter to the KVM hypervisor,
    named 'use_chroot'.
    If it's turned on for an instance, than KVM is started in "chroot mode":
    Ganeti creates an empty directory for the instance and passes the path
    of this dir to KVM via the -chroot flag.
    KVM changes its root to this directory after starting up.
    
    It also adds a "quarantine" feature for moving any unexpected files to
    a separate directory for later analysis.
    
    Signed-off-by: default avatarBalazs Lecz <leczb@google.com>
    Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    84c08e4e