]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix CPU baseline to not hardcode arch
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 19 Dec 2012 10:47:40 +0000 (10:47 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 19 Dec 2012 10:48:06 +0000 (10:48 +0000)
commit1eec6d447ed9dc6df217481b823277dee5244fd7
tree625acd51f5815eacbb8a09844afb64349a3ec099
parent32df483f1d5916f00e3ab15158f099234909e9c2
Fix CPU baseline to not hardcode arch

Prior to the virArch changes, the CPU baseline method would
free the arch string in the returned CPU. Fix the regression
by setting arch to VIR_ARCH_NONE at the end

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/cpu/cpu_x86.c