It looks like with this specific setup (using xm because of libvirt, and that because to enable the use of libxl in libvirt the packaging in xen has to change to include all required parts in libxen-dev) the problem is that the code in newer Xen versions that would filter SMEP only works if HAP is used (which is not). But somehow despite the comment in the code saying something else, Xen always seems to be in paging mode, even if the guest VCPU is not. This makes me think that maybe the check should only rely on !hvm_paging_enabled(v). Using this patch on the xen source prevents the hangs.
** Patch added: "0001-VMX-Always-disable-SMEP-when-guest-is-in-non-paging-.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1157757/+attachment/3617737/+files/0001-VMX-Always-disable-SMEP-when-guest-is-in-non-paging-.patch ** Also affects: xen (Ubuntu) Importance: Undecided Status: New ** Changed in: xen (Ubuntu) Importance: Undecided => High ** Changed in: xen (Ubuntu) Status: New => In Progress ** Changed in: xen (Ubuntu) Assignee: (unassigned) => Stefan Bader (stefan-bader-canonical) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157757 Title: [Regression] Stuck CPU1-x when booting as Xen HVM guest on certain Intel hosts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1157757/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
