Univention Bugzilla – Attachment 9142 Details for
Bug 44084
Fix QEMU suspend2disk / live-migration / running-snapshot issues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Check BIOS
libvirt-bios-check (text/plain), 1.13 KB, created by
Philipp Hahn
on 2017-08-24 16:14:13 CEST
(
hide
)
Description:
Check BIOS
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2017-08-24 16:14:13 CEST
Size:
1.13 KB
patch
obsolete
>#!/usr/bin/python > >import sys >import libvirt > >if __name__ == '__main__': > try: > uri = sys.argv[1] > except IndexError: > uri = 'qemu:///system' > conn = libvirt.open(uri) > for dom in conn.listAllDomains(libvirt.VIR_CONNECT_LIST_DOMAINS_ACTIVE): > print dom.name() > bios = dom.memoryPeek(0x00000000ffff0000L, 0x10000, libvirt.VIR_MEMORY_PHYSICAL) > print ' 4G: %s %08x' % (' '.join('%02x' % ord(_) for _ in bios[-32:]), hash(bios) % ((sys.maxsize + 1) * 2)) > bios = dom.memoryPeek(0x00000000000f0000L, 0x10000, libvirt.VIR_MEMORY_PHYSICAL) > print ' 1M: %s %08x' % (' '.join('%02x' % ord(_) for _ in bios[-32:]), hash(bios) % ((sys.maxsize + 1) * 2)) > exit(0) > >''' ># 1.7 > 4G: 66 83 c4 08 66 5b 66 5e 66 c3 b0 20 e6 20 66 c3 ea 5b e0 00 f0 30 36 2f 32 33 2f 39 39 00 fc 00 233a04829df41fe2 > 4G: 66 83 c9 ff 66 89 c8 66 5b 66 5e 66 5f 66 c3 90 ea 5b e0 00 f0 30 36 2f 32 33 2f 39 39 00 fc 00 86199ab9e480df25 ># 1.9 > 4G: 66 83 c4 08 66 5b 66 5e 66 c3 b0 20 e6 20 66 c3 ea 5b e0 00 f0 30 36 2f 32 33 2f 39 39 00 fc 00 233a04829df41fe2 ># 1.10 > 4G: a3 ff ff 66 5b 66 83 c4 08 66 5b 66 5e 66 c3 90 ea 5b e0 00 f0 30 36 2f 32 33 2f 39 39 00 fc 00 5812fbb675d5325a >'''
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 44084
: 9142