]> rtime.felk.cvut.cz Git - jailhouse.git/blobdiff - hypervisor/control.c
core: Remove caller restriction from Hypervisor Get Info hypercall
[jailhouse.git] / hypervisor / control.c
index 4ba4a7eb4982c6f7ef594a1c7c19ff234e985708..18042b509342ee9228ffd456df23601638f0a11a 100644 (file)
@@ -468,9 +468,6 @@ int shutdown(struct per_cpu *cpu_data)
 
 long hypervisor_get_info(struct per_cpu *cpu_data, unsigned long type)
 {
-       if (cpu_data->cell != &linux_cell)
-               return -EPERM;
-
        switch (type) {
        case JAILHOUSE_INFO_MEM_POOL_SIZE:
                return mem_pool.pages;