[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/6] lib{xc,xl}: support for guest MSR features
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
- Date: Tue, 25 Jul 2023 15:05:52 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=e3D+sCBu93lJN8h/uBwTlirz+UK81IB9FCSryAPCYQ8=; b=EAqbgicPNbA03HPFPskRIKf8T/8csDo1dwyx8SjzAVP5zPxevF/sbJvHdNk+QqIIOIvYFnuKwypsX6ZhpIyZ4KFewfZ/ypjR1/t2QgaE8PKldv9UBw2KHFJY8WVyYA6bnKui8QBIoB2OwfK1oo2kUO1dbFb280FsH+FM1EzdZzuTa7+vckPFgwt4pW+XJvuneiF6PcnK5s+QqFdFA/R5KMKkbvXzhlGxtI5GEwSzqDsJIjIeUrABR62orHdUAc0Hv1r+3Pnm73gdNbHSQ2PdVteCpJENNrUkWIXPYM09rNqV9Zu6dm/RI8l8nxk7odFVF59yGFq6eqptUX4YDqVA7g==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e0deDAX7/86042r7eURrgTu9cN3kwmGMaSNe1pi0YDhQSE2Os1VvuHpiHD/++7dQ2jklmNst0Fi3nRFo4le+VTaHkYs+fy64VIY9ah5uGISwHOJyCVqBx5hgpjLYBYjRBQF53obM/zV+6fW4CAgAYzudTVgtDPHpvoZWoV7KmYZ3fGra4Gy/LUNjBniJBH3rZ9mahEr89lAMiNp72GsEeNZN1n6uxabGQvJ78oq3sAYrYD8lAp6q7mwMQ9w3Q2ip88mk0tpD3XApDPMbb9BsVVKNTCR99COBgdh4N4C70UaYjCwbxORv09N/siOL/tQ7Am+HTtJdVsiKXjRiR6I8Xg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
- Delivery-date: Tue, 25 Jul 2023 13:06:37 +0000
- Ironport-data: A9a23:MTlLTazq1CXm3jXC2m56t+cQxyrEfRIJ4+MujC+fZmUNrF6WrkVWy WsbDW6PbveCYmH0Koh0PY/no0pV7JPWztRhGwU9rCAxQypGp/SeCIXCJC8cHc8wwu7rFxs7s ppEOrEsCOhuExcwcz/0auCJQUFUjP3OHfykTrafYEidfCc8IA85kxVvhuUltYBhhNm9Emult Mj75sbSIzdJ4RYtWo4vw/zF8EoHUMja4mtC5QRhP60T5TcyqlFOZH4hDfDpR5fHatE88t6SH 47r0Ly/92XFyBYhYvvNfmHTKxBirhb6ZGBiu1IOM0SQqkEqSh8ai87XAME0e0ZP4whlqvgqo Dl7WT5cfi9yVkHEsLx1vxC1iEiSN4UekFPMCSDXXcB+UyQq2pYjqhljJBheAGEWxgp4KUtg2 No5AjILVB+CmMSfwZiGCa5vhu12eaEHPKtH0p1h5RfwKK9/BLvkGuDN79Ie2yosjMdTG/qYf 9AedTdkcBXHZVtIJ0sTD5U92uyvgxETcRUB8A7T+fVxvjaVlVMouFTuGIO9ltiiX8Jak1zev mvb12/4HgsbJJqUzj/tHneE37aezHOiAtxIfFG+3qRbw1ew+3xQMj0TCQW/m/+fmFW4CvsKf iT4/QJr98De7neDXtT7GhG1vnOAlhodQMZLVf037hmXzajZ6BrfAXILJhZebPQ2uclwQiYlv neLkMnuHidHq6CORDSW8bL8kN+pES0cLGtHbihdSwIAuoDnuNtq0UuJSct/GqmoiNGzASv33 z2BsCk5gfMUkNIP0KK4u1vAhlpAu6T0c+L83S2PNkrN0++zTNT5D2B0wTA3Ncp9Ebs=
- Ironport-hdrordr: A9a23:gc51laBawyfUB7TlHejpsceALOsnbusQ8zAXPiFKOGlom6mj/K 6TdZsgtSMc9wxhJE3I9ergBEDiewKuyXcK2/hyAV7KZmCP0ldAR7sSjrcKrQeQfhEX/YZmpN hdm8AVMrHN5TMRt6nHCMbTKbsd6ejCyYTtodr3i05qSwQCUdAT0++6YDzrbHGfgGN9dOoE/F /33Ls3m9PaQwVyUu2LQkMdWvTFpZnijYuOW29+OzcXrDOWiC+u6vrQDxic034lIk5y6IZny3 HBjwv6ooKqt/3T8G6660bjq65OncfnyJ9kGsuBkaEuW1PRozftXp1lR7qB+AoUjYiUmS4Xue iJmQ4kI8Nwr0ncZX64ujzk3wWI6kdU11bSjWWAhGflo4jHSCkhC8xH7LgpCCfk1w==
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hello,
The following series adds support for handling guest MSR features as
defined in arch-x86/cpufeatureset.h.
The end result is the user being able to use such features with the
xl.cfg(5) cpuid option. This also involves adding support to all the
underlying layers, so both libxl and libxc also get new functionality in
order to properly parse those.
Thanks, Roger.
Roger Pau Monne (6):
libs/guest: introduce support for setting guest MSRs
libxl: change the type of libxl_cpuid_policy_list
libxl: introduce MSR data in libxl_cpuid_policy
libxl: split logic to parse user provided CPUID features
libxl: use the cpuid feature names from cpufeatureset.h
libxl: add support for parsing MSR features
docs/man/xl.cfg.5.pod.in | 24 +-
tools/include/libxl.h | 8 +-
tools/include/xenctrl.h | 21 +-
tools/libs/guest/xg_cpuid_x86.c | 169 +++++++-
tools/libs/light/libxl_cpuid.c | 672 ++++++++++++++++++------------
tools/libs/light/libxl_internal.h | 5 +
tools/libs/light/libxl_types.idl | 2 +-
tools/xl/xl_parse.c | 3 +
8 files changed, 612 insertions(+), 292 deletions(-)
--
2.41.0
|