mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
bitkeeper revision 1.1757 (42be9ad5TTWQjsCBju5noyzBrTMyjA)
Attached is the patch that changes the default ssid from 0xffffffff to 0 as discussed in previous emails. Signed-off-by: Reiner Sailer <sailer@us.ibm.com> Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
1 parent
6c9cb1b9ef
commit
19b63a9f44
9 files changed
+46
-43
No files matched your search
@@ -78,7 +78,7 @@ static PyObject *pyxc_domain_create(PyObject *self,
|
||||
|
||||
u32 dom = 0;
|
||||
int ret;
|
||||
u32 ssidref = 0xFFFFFFFF;
|
||||
u32 ssidref = 0x0;
|
||||
|
||||
static char *kwd_list[] = { "dom", "ssidref", NULL };
|
||||
|
||||
|
||||
@@ -399,9 +399,9 @@ class ProgList(Prog):
|
||||
d['port'] = sxp.child_value(console, 'console_port')
|
||||
else:
|
||||
d['port'] = ''
|
||||
if ((int(sxp.child_value(info, 'ssidref', '-1'))) != -1):
|
||||
d['ssidref1'] = int(sxp.child_value(info, 'ssidref', '-1')) & 0xffff
|
||||
d['ssidref2'] = (int(sxp.child_value(info, 'ssidref', '-1')) >> 16) & 0xffff
|
||||
if ((int(sxp.child_value(info, 'ssidref', '0'))) != 0):
|
||||
d['ssidref1'] = int(sxp.child_value(info, 'ssidref', '0')) & 0xffff
|
||||
d['ssidref2'] = (int(sxp.child_value(info, 'ssidref', '0')) >> 16) & 0xffff
|
||||
print ("%(name)-16s %(dom)3d %(mem)7d %(cpu)3d %(vcpus)5d %(state)5s %(cpu_time)7.1f %(port)4s s:%(ssidref2)02x/p:%(ssidref1)02x" % d)
|
||||
else:
|
||||
print ("%(name)-16s %(dom)3d %(mem)7d %(cpu)3d %(vcpus)5d %(state)5s %(cpu_time)7.1f %(port)4s" % d)
|
||||
|
||||