]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
tools: config-create: Remove write restriction for ACPI regions
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 21 Aug 2014 17:30:39 +0000 (19:30 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sat, 23 Aug 2014 10:54:23 +0000 (12:54 +0200)
We don't depend on ACPI in the hypervisor anymore. Also, the NVS memory
may contain some semaphore the kernel updates to synchronize with the
chipset-embedded controller. So let's give Linux full access to this
memory again.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/jailhouse-config-create

index 91109a51bec5850bc9b50453d262140cafd0383d..b318116d3ed4a9d4685913966524c768c0d0f53b 100755 (executable)
@@ -220,11 +220,6 @@ class MemRegion:
         return int((self.stop - self.start + 0xfff) / 0x1000) * 0x1000
 
     def flagstr(self, p=''):
-        if (
-            self.typestr == 'ACPI Tables' or
-            self.typestr == 'ACPI Non-volatile Storage'
-        ):
-            return 'JAILHOUSE_MEM_READ'
         if (
             self.typestr == 'System RAM' or
             self.typestr == 'RAM buffer' or