diff options
author | Olaf Hering <olaf@aepfle.de> | 2013-02-14 17:18:56 +0000 |
---|---|---|
committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2013-02-22 16:35:28 +0000 |
commit | 4b5059be627aa68e5cd6ef344b21ce6743f3f9df (patch) | |
tree | f420679bec1a17bd9fe173612575887a4e9e9b51 /stubdom | |
parent | 31c59e7009f0945b85e877d963ffee6fe277ce8d (diff) | |
download | xen-4b5059be627aa68e5cd6ef344b21ce6743f3f9df.tar.gz xen-4b5059be627aa68e5cd6ef344b21ce6743f3f9df.tar.bz2 xen-4b5059be627aa68e5cd6ef344b21ce6743f3f9df.zip |
xend: Only add cpuid and cpuid_check to sexpr once
tools/xend: Only add cpuid and cpuid_check to sexpr once
When converting a XendConfig object to sexpr, cpuid and cpuid_check
were being emitted twice in the resulting sexpr. The first conversion
writes incorrect sexpr, causing parsing of the sexpr to fail when xend
is restarted and domain sexpr files in /var/lib/xend/domains/<dom-uuid>
are read and parsed.
This patch skips the first conversion, and uses only the custom
cpuid{_check} conversion methods called later. It is not pretty, but
is the least invasive fix in this complex code.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'stubdom')
0 files changed, 0 insertions, 0 deletions