git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rework NAT support.
[bootmanager.git]
/
source
/
ModelOptions.py
diff --git
a/source/ModelOptions.py
b/source/ModelOptions.py
index
ee1cab3
..
8c8e979
100644
(file)
--- a/
source/ModelOptions.py
+++ b/
source/ModelOptions.py
@@
-1,3
+1,12
@@
+#!/usr/bin/python
+
+# Copyright (c) 2003 Intel Corporation
+# All rights reserved.
+#
+# Copyright (c) 2004-2006 The Trustees of Princeton University
+# All rights reserved.
+
+
import string
MINHW = 0x001
import string
MINHW = 0x001
@@
-9,6
+18,7
@@
NUMA = 0x020
GEODE = 0x040
BADHD = 0x080
LAST = 0x100
GEODE = 0x040
BADHD = 0x080
LAST = 0x100
+RAWDISK = 0x200
modeloptions = {'smp':SMP,
'x64':X86_64,
modeloptions = {'smp':SMP,
'x64':X86_64,
@@
-19,7
+29,8
@@
modeloptions = {'smp':SMP,
'numa':NUMA,
'geode':GEODE,
'badhd':BADHD,
'numa':NUMA,
'geode':GEODE,
'badhd':BADHD,
- 'minhw':MINHW}
+ 'minhw':MINHW,
+ 'rawdisk':RAWDISK}
def Get(model):
modelinfo = string.split(model,'/')
def Get(model):
modelinfo = string.split(model,'/')
@@
-30,3
+41,4
@@
def Get(model):
options = options | modeloptions.get(info,0)
return options
options = options | modeloptions.get(info,0)
return options
+