On 2/18/19 11:23 AM, Wei Liu wrote: > On Mon, Feb 18, 2019 at 11:17:56AM +0000, Lars Kurth wrote: >> Thank you Wei. It's interesting though that the full vs HVM only is almost >> identical in terms of SLOC's >> Lars > > The cloc target counts the files in the dependency graph generated by > make. A lot of the files contain both common x86 code and PV only code. > So an HVM only build will count some of the PV code.
Still, what that shows is that there have been nearly 25k likes of code identified as "HVM-only", while there have been less than 5k likes of code identified as "PV-only". That's quite a bit more lopsided than I was expecting. Perhaps part of the explanation is that PV came first, and HVM afterwards; and the core "Xen" interfaces (grant tables, &c) are the same between the two. That is, HVM guests (if we include PVH dom0) have the vast majority of functionality available to PV guests, while there are large sections of functionality available to HVM guests to which PV guests have no access. -George _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel