
Daniel P. Berrange wrote: [Wed Jan 31 2007, 03:40:38PM EST]
Notice that the '(vcpus 3)' bit is duplicated twice in the SEXPR that xm sends - once at top level and once within (image). It looks like when creating HVM guests you need both set to get it to work correctly. Frankly this is utterly insane - XenD should simply copy the top level value for vcpus into the (image) block as needed.
Since we need compatability with all Xen 3.0.x series codebases, it looks like we'll need to do a tiny bit of magic in libvirt to also send the vcpus stuff twice for HVM. Urgh :-(
Ugly, I agree, but I'm glad you found it... Send me a version to test if you'd like. I'm updating the RHEL5 BZ to reference this conversation, hopefully we can still get a fix in there. Regards, Aron