From: Jan Kiszka <[email protected]>

Since 366766542b3d, Jailhouse will refuse to start if not all configured
CPUs are online. In that, the driver will not use cpus_assigned anyway.

Signed-off-by: Jan Kiszka <[email protected]>
---
 driver/cell.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/driver/cell.c b/driver/cell.c
index 9d31a13e..50e344e5 100644
--- a/driver/cell.c
+++ b/driver/cell.c
@@ -128,9 +128,6 @@ int jailhouse_cell_prepare_root(const struct 
jailhouse_cell_desc *cell_desc)
        if (IS_ERR(root_cell))
                return PTR_ERR(root_cell);

-       cpumask_and(&root_cell->cpus_assigned, &root_cell->cpus_assigned,
-                   cpu_online_mask);
-
        return 0;
 }

--
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/7d6ea66fdd1c818882e00a3b8434d3d0bbe0b9ad.1581770164.git.jan.kiszka%40web.de.

Reply via email to