{"id":287438,"date":"2023-11-16T04:02:38","date_gmt":"2023-11-15T20:02:38","guid":{"rendered":"https:\/\/lrxjmw.cn\/lnhxnhjjfadj.html"},"modified":"2023-11-16T04:02:38","modified_gmt":"2023-11-15T20:02:38","slug":"lnhxnhjjfadj","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lnhxnhjjfadj.html","title":{"rendered":"Linux\u5185\u6838\u865a\u62df\u5316\u89e3\u51b3\u65b9\u6848\u7684\u7ed3\u6784\u53eb\u2014\u2014\u57fa\u4e8eKvmSec"},"content":{"rendered":"

\u4e00\u3001\u6458\u8981<\/p>\n

\u4ee5\u865a\u62df\u5316PC\u4e3a\u5e94\u7528\u7684\u6570\u636e\u4e2d\u5fc3\u670d\u52a1\u5668\u7fa4\u4e0b\u964d\u5f88\u5feb\u3002\u672c\u6587\u4ecb\u7ecd\u7684\u8fd9\u4e2a\u6784\u67b6\uff0c\u4f18\u70b9\u662f\u964d\u4f4e\u5168\u5c40\u7cfb\u7edf<\/a>\u5b89\u5168\u3002<\/p>\n

\u5728\u8fd9\u7bc7\u8bba\u6587\u4e2d\uff0c\u6211\u4eec\u63d0\u51fa\u4e00\u4e2a\u7ed3\u6784\u53eb\uff1aKvmSec\uff0c\u5b83\u662fLinux<\/a>\u5185\u6838\u865a\u62df\u673a\u7684\u6269\u5145\uff0c\u76ee\u6807\u662f\u964d\u4f4e\u987e\u5ba2\u673a\u7684\u5b89\u5168\u3002KvmSec\u80fd\u907f\u514d\u987e\u5ba2\u673a\u906d\u5230\u75c5\u6bd2\u4e0e\u5185\u6838\u9ed1\u5ba2\u5de5\u5177\u7684\u529f\u51fb\u3002KvmSec\u6709\u4e0b\u8fb9\u7684\u7279\u70b9\uff1a\u5bf9\u987e\u5ba2\u673a\u900f\u660e\uff0c\u5b83\u5f88\u96be\u4ece\u88ab\u653b\u9677\u7684\u865a\u62df\u673a\u8bbf\u95ee\u91cc\u9762\u7684\u6570\u636e\uff0c\u4e5f\u4e0d\u80fd\u5728\u7b2c\u4e8c\u53f0\u987e\u5ba2\u673a\u5256\u6790\u5176\u4ed6\u7b2c\u4e00\u53f0\u987e\u5ba2\u673a\u7684\u6570\u636e\uff1b\u5b83\u80fd\u63d0\u4f9b\u987e\u5ba2\u673a\u4e0e\u4e3b\u673a\u7684\u5b89\u5168\u901a\u8baf\uff1b\u5b83\u65e2\u80fd\u88ab\u5e03\u7f72\u4e8eLinux\u5bbf\u4e3b\u673a\uff0c\u4e5f\u80fd\u88ab\u5e03\u7f72\u4e8eLinux\u987e\u5ba2\u673a\u3002\u5bf9\u4e8e\u6267\u884c\u5b9e\u65f6\u76d1\u63a7\u548c\u7ba1\u7406\u7cfb\u7edf\uff0c\u8fd9\u79cd\u7279\u70b9\u8d77\u5230\u6760\u6746\u4f5c\u7528\u3002\u66f4\u8fdb\u4e00\u6b65\u5730\u8bf4\uff0c\u672c\u8bbe\u8ba1\u4f18\u4e8e\u524d\u4eba\u8bbe\u8ba1\u7684\u5b89\u5168\u89e3\u51b3\u65b9\u6848\uff0c\u4e5f\u8bbe\u60f3\u4e86\u4e0b\u4e00\u4ee3\u5b89\u5168\u7684\u8def\u7ebf\u56fe\u3002<\/p>\n

\u4e8c\u3001\u4ecb\u7ecd<\/p>\n

\u865a\u62df\u5316\u662f\u4e00\u4e2a\u8001\u6982\u5ff5\uff0c\u5982\u4eca\u662f\u5b83\u7684\u9ec4\u91d1\u5e74\u4ee3\u3002\u5b83\u88ab\u5e7f\u6cdb\u4f7f\u7528\u5728\u684c\u9762PC\u3001\u6570\u636e\u4e2d\u5fc3\u4e0e\u670d\u52a1\u5668\u96c6\u7fa4\u3002\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u6700\u5e7f\u6cdb\u88ab\u91c7\u7528\u7684x86\u865a\u62df\u5316\u89e3\u51b3\u65b9\u6848\u6709\uff1aVMware\u3001Xen\u3001UserModeLinux\u3001Qemu\u3001KVM\u3002\u8fd1\u6765\u51e0\u5e74\u865a\u62df\u5316\u89e3\u51b3\u65b9\u6848\u7684\u53ef\u9760\u6027\u4e5f\u589e\u5f3a\u4e86\uff0c\u800c\u4e14\u5bf9\u865a\u62df\u673a\u4e0a\u5b89\u5168\u670d\u52a1\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u7684\u529f\u51fb\u662f\u4f7f\u4eba\u53d1\u6012\u7684\u3002\u6076\u610f\u5165\u4fb5\u8005\u5e38\u5e38\u6210\u529f\u7684\u529f\u51fb\u7cfb\u7edf\u5e76\u83b7\u5f97\u7ba1\u7406\u5458\u6743\u9650\u3002\u50cf\u6728\u9a6c\u4e0e\u4fa7\u95e8\u7a0b\u5e8f\u624d\u80fd\u88ab\u63d2\u5165\uff0c\u91cd\u8981\u6216\u79c1\u6709\u6587\u4ef6\u80fd\u88ab\u8bbf\u95ee\u3002\u4e3a\u6b64\uff0c\u8bb8\u591a\u7c7b\u578b\u529f\u51fb\u610f\u5473\u7740\u6539\u53d8\u6587\u4ef6\u7cfb\u7edf\u3002\u5165\u4fb5\u4fdd\u62a4\u5de5\u5177\u4e00\u822c\u68c0\u6d4b\u6587\u4ef6\u66f4\u6539\uff0c\u975e\u5e38\u662f\u90a3\u4e9b\u6587\u4ef6\u7684\u5b89\u5168\u901a\u9053\u3002<\/p>\n

\u5b8c\u6574\u6027\u5de5\u5177\u4e0e\u5b83\u641c\u96c6\u7684\u6570\u636e\u4e00\u822c\u4e00\u822c\u653e\u7f6e\u5728\u5b83\u6240\u76d1\u63a7\u7684\u7cfb\u7edf\u4e0a\u3002\u8fd9\u662f\u4e00\u4e2a\u95ee\u9898\uff0c\u5f53\u4e00\u4e2a\u7cfb\u7edf\u88ab\u6076\u610f\u7a0b\u5e8f\u529f\u51fb\uff0c\u80fd\u591f\u7be1\u6539\u76d1\u63a7\u7cfb\u7edf\u3002KvmSec\u88ab\u52a0\u5165\u5230\u865a\u62df\u5316\u6280\u672f\u4e0a\uff0c\u8986\u76d6\u6574\u4e2a\u7cfb\u7edf\u5b89\u5168\u3002\u865a\u62df\u987e\u5ba2\u673a\u80fd\u88ab\u989d\u5916\u7684\u8fb9\u754c\u4fdd\u62a4\u3002\u7279\u6b8a\u5730\uff0c\u5f53\u4e00\u4e2a\u7cfb\u7edf\u76d1\u63a7\u7a0b\u5e8f\uff08\u4e5f\u5305\u62ecVirtualMachineMonitor\uff09\uff0c\u80fd\u63d0\u4f9b\u53ef\u4fe1\u4f30\u7b97\u57fa\uff0c\u56e0\u800c\u5728\u76d1\u63a7\u7cfb\u7edf\u4e0a\uff0c\u4f7f\u6076\u610f\u7a0b\u5e8f\u4e0d\u53ef\u8fbe\u3002\u8fd9\u6837\u867d\u7136\u529f\u51fb\u8005\u6210\u529f\u7684\u6b65\u5165\u865a\u62df\u673a\uff0c\u529f\u51fb\u8def\u5f84\u4e0d\u53ef\u88ab\u5220\u6389\uff0c\u5916\u90e8\u5b89\u5168\u7cfb\u7edf\u4e0d\u80fd\u88ab\u5173\u6389\u3002<\/p>\n

\u8d21\u732e<\/p>\n

\u8fd9\u7bc7\u8bba\u6587\u9648\u8ff0\u5728\u670d\u52a1\u5668\u52a0\u56fa\u65f6\uff0c\u987e\u5ba2\u673a\u5b89\u5168\u76d1\u63a7\u7684\u95ee\u9898\u3002\u6211\u4eec\u6240\u7ed9\u4e0e\u7684\u4e3b\u8981\u7814\u7a76\u8d21\u732e\u662fKvmSec\u7cfb\u7edf\u7ed3\u6784,\u5b83\u53ef\u4ee5\u4fdd\u62a4\u4e0e\u76d1\u63a7\u987e\u5ba2\u673a\u3002\u5f53\u524d\u7684\u8fdb\u5c55\u662f\uff0c\u5b9e\u65f6\u5bb9\u8bb8\u4e3b\u673a\u63a7\u5236\u987e\u5ba2\u673a\u672a\u6388\u6743\u7684\u53d8\u66f4\u3002\u5f53\u987e\u5ba2\u673a\u5f02\u5e38\u65f6\uff0cKvmSec\u80fd\u63a2\u6d4b\u4e0e\u4f5c\u51fa\u53cd\u5e94\u3002\u5b83\u662fLinuxKernelVirtualMachine\u6700\u5c0f\u5316\u5b58\u53d6\u539f\u5219\u7684\u6269\u5145\uff0c\u4f46\u662f\u76d1\u63a7\u7cfb\u7edf\u81ea\u8eab\u53ef\u89c1\u3002<\/p>\n

\u6307\u5f15<\/p>\n

\u8fd9\u7bc7\u8bba\u6587\u5176\u4f59\u7684\u90e8\u4efd\u5982\u4e0b\u7ec4\u7ec7\uff1a\u7b2c3\u8282\uff1a\u7763\u67e5\u73b0\u6709\u7684\u6280\u672f\u548c\u76f8\u5173\u5de5\u4f5c\uff0c\u63d0\u4f9b\u6211\u4eec\u5de5\u4f5c\u7684\u80cc\u666f\u4fe1\u606f\u3002\u7b2c4\u8282\uff1a\u63cf\u8ff0KvmSec\u7684\u8981\u6c42\u4e0e\u7ed3\u6784\u3002\u7b2c5\u8282\uff1a\u63d0\u4f9b\u4e00\u4e9b\u6267\u884c\u7ec6\u8282\u3002\u7b2c6\u8282\uff1a\u8ba8\u8bbaKvmSec\u548c\u5148\u524d\u7684\u7ed3\u679c\u7684\u6bd4\u8f83\u3002\u6700\u540e\uff0c\u7b2c7\u8282\uff1a\u5f97\u51fa\u63a8\u8bba\u3002<\/p>\n

\u4e09\u3001\u80cc\u666f3.1\u865a\u62df\u5316\u7ed3\u6784<\/p>\n

\u5728\u4e0b\u8fb9\u6211\u4eec\u5256\u6790\u6700\u76f8\u5173\u7684\u5f00\u6e90\u865a\u62df\u5316\u7ed3\u6784Xen\u548cKVM\uff0c\u4e3a\u4e86\u8bc1\u660e\u4e3a\u4f55\u6211\u4eec\u9009\u62e9\u524d\u8005\u3002\u5168\u865a\u62df\u5316\u662f\u4e00\u4e2a\u4f7f\u7528CPU\u865a\u62df\u5316\u6280\u672f\uff08AMD-V\u548cIntel-VT\u652f\u6301\u7684\u6280\u672f\uff09\u3002CPU\u652f\u6301\u8fd9\u4e9b\u6280\u672f\u7279\u70b9\uff0c\u81f4\u4f7f\u865a\u62df\u673a\u4e2d\u8fd0\u884c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0d\u7528\u66f4\u6539\uff0c\u5c31\u53ef\u4ee5\u8fd0\u884c\uff0c\u800c\u4e0d\u987b\u8981\u6653\u5f97\u66f4\u9ad8\u7279\u6743\u7ea7\u7684\u5b58\u5728\u3002\u53e6\u5916\u4e00\u79cd\u865a\u62df\u5316\u6280\u672f\u662f\u534a\u865a\u62df\u5316\u3002\u5b83\u4e0d\u987b\u8981CPU\u865a\u62df\u5316\u6280\u672f\u7684\u652f\u6301\uff0c\u4f46\u4e00\u822c\u8981\u6c42\u6539\u5199\u987e\u5ba2\u673a\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n

Xen\uff0c\u6700\u88ab\u5e7f\u6cdb\u91c7\u7528\u7684\u865a\u62df\u5316\u89e3\u51b3\u65b9\u6848\uff0c\u7531Xenhypervisor(orVMM)\uff0c\u7279\u6743VM(Dom0)\uff0c\u5f53\u64cd\u4f5c\u7cfb\u7edf\u88ab\u8fd0\u884c\u65f6\u7684\u666e\u901aVM(DomU)\u7ec4\u6210\u3002Xen\u7684\u7279\u70b9\uff1a1\uff09\u5171\u4eab\u663e\u5b58\uff1a\u865a\u62df\u673a\u95f4\u901a\u4fe1\u901a\u9053\uff1b2\uff09\u4ee5\u592a\u901a\u9053\uff1a\u865a\u62df\u673a\u95f4\u7684\u8baf\u53f7\u901a\u9053\uff1b3\uff09\u5171\u4eab\u663e\u5b58\u5b58\u53d6\u63a7\u5236\uff1a\u5b58\u53d6\u63a7\u5236\u77e9\u9635\uff0c\u63cf\u8ff0\u865a\u62df\u673a\u53ef\u4ee5\u8bbf\u95ee\u7684\u5171\u4eab\u663e\u5b58\u3002Xen\u7684\u9a71\u52a8\u88ab\u5b9a\u4e49\u5728Dom0\u7279\u6743\u57df\u4e2d\u3002\u6240\u4ee5\u5176\u4ed6\u57df\u7684I\/O\u6073\u6c42\u7531Dom0\u5904\u7406\uff0chypervisor\u7684\u804c\u8d23\u662f\u5f53\u6709I\/O\u64cd\u4f5c\u6073\u6c42\u65f6\u4eceDomU\u8f6c\u6362\u5230Dom0\u3002<\/p>\n

KVM\uff0c\u662f\u65b0\u7684\u4e3b\u6d41Linux\u865a\u62df\u5316\u89e3\u51b3\u65b9\u6848\uff0c\u57282.6.20\u5185\u6838\u7248\u672c\u4e2d\u52a0\u5165\u5185\u6838\u3002KVM\u7684\u7ec4\u6210\uff08\u89c1\u56fe1\u7684\u6267\u884c\u6a21\u5f0f\uff09\u7531\u4e00\u4e2ahypervisor\uff08Linux\u5185\u6838\u6a21\u5757\uff09\uff0c\u7ecf\u8fc7\u66f4\u6539\u7684QEMU\u6a21\u62df\u5668\u8f6f\u4f53\u3002KVM\u662f\u4e00\u4e2a\u6807\u51c6\u7684\u5185\u6838\u6a21\u5757\uff0c\u4f5c\u4e3a\u4f7f\u7528\u6807\u51c6\u7684\u3001\u53ef\u9760\u7684\u3001\u7ecf\u5e38\u66f4\u65b0\u7684Linux\u8bbe\u5907\u9a71\u52a8\u7684\u7ed3\u679c\u3002\u4e00\u65b9\u9762\uff0c\u8fd9\u662f\u4e3a\u4f55KVM\u6bd4Xen\u5c11\u53d7\u529f\u51fb\u7684\u4e00\u4e2a\u8bf1\u56e0\uff0cXen\u7684\u9a71\u52a8\u5f00\u53d1\u6bd4\u6807\u51c6Linux\u6162\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u5185\u6838\u4ee3\u7801\u57fa\u6bd4Xen\u5927\uff0c\u6f5c\u5728\u5730\u5305\u542b\u66f4\u591a\u7684\u5f31\u70b9\u548c\u95ee\u9898\u3002Xen\u548cKVM\u7684\u6bd4\u8f83\u5728\u201c\u88681\u201d.KVM\u6ca1\u6709\u5b8c\u5168\u6210\u719f\uff0c\u4f46\u6bd4Xen\u6709\u66f4\u597d\u7684\u65b9\u9762\uff0c\u975e\u5e38\u662f\u5e7f\u6cdb\u7684\u786c\u4ef6\u652f\u6301\u548c\u964d\u4f4e\u7684\u7075\u6d3b\u6027\uff0c\uff08\u91cd\u65b0\u5e03\u7f72\u65b0\u7684KVM\u7248\u672c\u4e0d\u987b\u8981\u91cd\u65b0\u542f\u52a8\u673a\u5668\uff09\u3002\u5e76\u4e14\uff0c\u66f4\u591a\u7684\u52aa\u529b\u52a0\u5165\u5230KVM\u548cQemu\u7684\u4ea7\u54c1\u4e2d\u3002<\/p>\n

\u865a\u62df\u4e3b\u673a\u673a\u623f\u5730\u5740_linux\u865a\u62df\u673a \u4e3b\u673a_linux\u4e3b\u673a\u865a\u62df\u5316<\/p>\n

\u865a\u62df\u4e3b\u673a\u673a\u623f\u5730\u5740_linux\u865a\u62df\u673a \u4e3b\u673a_linux\u4e3b\u673a\u865a\u62df\u5316<\/p>\n

3.2\u76f8\u5173\u5de5\u4f5c<\/p>\n

\u4e0b\u8fb9\u6211\u4eec\u7b80\u7565\u5730\u8bf4\u660e\u5230\u96c6\u6210\u76d1\u63a7\u5668\u95ee\u9898\uff0c\u5b83\u88ab\u4f7f\u7528\u4e8e\u5165\u4fb5\u68c0\u67e5\u8fb9\u754c\u533a\u3002<\/p>\n

\u96c6\u6210\u7ba1\u7406\u7ed3\u6784\uff0c\u63d0\u4f9b\u901a\u8fc7SHA\u6458\u8981\u8fdb\u884c\u96c6\u6210\u6027\u6d4b\u5ea6\u3002\u5f53\u88c5\u8f7d\u7684\u65f6\u4faf\uff0c\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5e93\u4e0e\u5185\u6838\u6a21\u5757\u6458\u8981\u88ab\u4f30\u7b97\u4e0e\u50a8\u5b58\u5728\u88ab\u66f4\u6539\u7684Linux\u5185\u6838\u81ea\u8eab\u3002\u636e\u6089\uff0c\u96c6\u6210\u7ba1\u7406\u7ed3\u6784\u7684\u54c8\u5e0c\u88ab\u50a8\u5b58\u5728\u9644\u52a0\u5728\u786c\u4ef6\u4e0a\u7684\u53ef\u4fe1\u4f30\u7b97\u5e73\u53f0\u6a21\u5757\u5b89\u5168\u82af\u7247\u7684\u53d7\u4fdd\u62a4\u7684\u5e73\u53f0\u914d\u7f6e\u5bc4\u5b58\u5668\u4e2d\uff0c\u8fd9\u6837\u8fdc\u7a0b\u65b9\u53ef\u4ee5\u901a\u8fc7\u6bd4\u8f83\u50a8\u5b58\u7684\u6458\u8981\u4e0e\u8fdc\u7a0b\u4f30\u7b97\u7684\u6458\u8981\u503c\u786e\u8ba4\u7cfb\u7edf\u96c6\u6210\u3002\u5176\u5b9e\u6458\u8981\u5728\u6027\u80fd\u4e0a\u5e26\u6765\u7684\u5f71\u54cd\u5f88\u91cd\u8981\uff0c\u4f46\u662f\u57fa\u4e8eCPU\u7684\u865a\u62df\u5316\u652f\u6301\u5e76\u672a\u4f7f\u7528\uff0c\u96c6\u6210\u7ba1\u7406\u7ed3\u6784\u63d0\u4f9b\u4e00\u4e2a\u5b8c\u6574\u7684\u5de5\u4f5c\u53c2\u8003\u7ed3\u6784\u3002<\/p>\n

\u6700\u4e3b\u8981\u7684Xenhypervisor\u7684\u6760\u6746\u4f5c\u7528\u6ca1\u6709\u4ee5\u4e0b\u80fd\u529b\uff1aXen\u7684sHype\u9694\u7edd\u865a\u62df\u673a\u4e0e\u5f3a\u5236\u8bbf\u95ee\u63a7\u5236\uff0c\u540c\u65f6\u7ba1\u7406\u9690\u853d\u901a\u9053\uff0c\u5f53\u66f4\u6539Xen\u53bb\u4fdd\u62a4\u7528\u6237\u7684\u79c1\u6709\u5e94\u7528\u7a0b\u5e8f\u6570\u636e\u65f6linux\u67e5\u770b\u786c\u4ef6\u4fe1\u606f\uff0c\u4e5f\u5c31\u5c06\u64cd\u4f5c\u7cfb\u7edf\u4ece\u53ef\u4fe1\u57fa\u4e2d\u79fb\u9664\u3002XenFIT\u662f\u4e00\u4e2a\u5b9e\u65f6\u6587\u4ef6\u7cfb\u7edf\u96c6\u6210\u5de5\u5177\u4fdd\u62a4\u6570\u636e\u5e93\u548cFIT\u7cfb\u7edf\uff0c\u907f\u514d\u529f\u51fb\u8005\u4f7f\u7528Xenhypervisor\u9694\u79bb\u7684\u90e8\u4efd\u3002\u4e8b\u5b9e\u4e0a\uff0cFIT\u548c\u6570\u636e\u5e93\u88ab\u5e03\u7f72\u5230\u5206\u79bb\u7684\u865a\u62df\u673a\u4e0a\u3002\u540c\u6837\uff0cXenRIM\u7531DomU\u4e0a\u7684XenRIMU\u6784\u6210\uff0c\u641c\u96c6\u987e\u5ba2\u673a\u7684\u4fe1\u606f\uff0c\u4f46\u662fDom0\u4e0a\u7684Xenrimd\u68c0\u6d4bXenRIMU\u641c\u96c6\u7684\u4fe1\u606f\uff0c\u62a5\u544a\u4efb\u4f55\u7cfb\u7edf\u7b56\u7565\u7684\u8fdd\u80cc\u3002<\/p>\n

SecVisor\u4f7f\u7528\u57fa\u4e8eCPU\u7684\u865a\u62df\u5316\u652f\u6301\uff0c\u4e3a\u4e86\u521b\u5efa\u6700\u5c0fhypervisor\u4fdd\u8bc1Linux\u5185\u6838\u4ee3\u7801\u5b8c\u6574\uff0c\u907f\u514d\u4ee3\u7801\u6ce8\u5165\u529f\u51fb\u3002SecVisor\u4ee3\u7801\u57fa\u662f\u5341\u5206\u5c0f\u7684\uff0c\u5b83\u51cf\u8f7b\u4e86\u53ef\u4fe1\u4f30\u7b97\u57fa\u7684\u5927\u5c0f\uff0c\u5e76\u4e14\u4e0d\u5e78\u7684\u662f\u53ea\u652f\u6301\u5355\u987e\u5ba2\u673a\u3002SecVisor\u7684\u7ed3\u679c\u4e0d\u9002\u7528\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u5b89\u5168\u5728\u670d\u52a1\u5668\u52a0\u56fa\u7684\u573a\u666f\u3002\u5e76\u4e14\uff0c\u4ed6\u53ea\u662f\u6210\u529f\u4fdd\u62a4\u5185\u6838\u4ee3\u7801\u800c\u4e0d\u662f\u5185\u6838\u6570\u636e\u3002<\/p>\n

Lares\u662f\u4e00\u4e2a\u6d3b\u52a8\u7684\u4f7f\u7528\u865a\u62df\u5316\u7684\u7ed3\u6784\uff0c\u88ab\u653e\u7f6e\u5728Xen\u865a\u62df\u673a\uff0c\u4f46\u662f\u5728\u987e\u5ba2\u673a\u4e0a\u5b89\u88c5\u94a9\u5b50\u7a0b\u5e8f\u3002\u4e3a\u4e86\u786e\u4fdd\u94a9\u5b50\u7a0b\u5e8f\u4e0d\u88ab\u8986\u76d6\uff0cLares\u4f7f\u7528\u663e\u5b58\u4fdd\u62a4\u7cfb\u7edf\uff0c\u4f7f\u6bcf\u9875\u5199\u6743\u9650\u901a\u8fc7\u9644\u52a0\u6307\u7eb9\u68c0\u6d4b\u3002Lares\u7b2c\u4e00\u4e2a\u539f\u578b\u770b\u4e0a\u53bb\u6267\u884c\u633a\u597d\uff0c\u4f46\u662flinux\u865a\u62df\u673a \u4e3b\u673a<\/strong>\uff0c\u5b83\u7684\u76d1\u63a7\u4f7f\u7528\u94a9\u5b50\u7a0b\u5e8f\uff0c\u624d\u80fd\u901a\u8fc7\u6027\u80fd\u5256\u6790\u88ab\u63a2\u6d4b\u5230\u3002<\/p>\n

XenKimono\u662f\u4e00\u4e2a\u5165\u4fb5\u68c0\u67e5\u7cfb\u7edf\uff0c\u76ee\u6807\u662f\u53d1\u89c9\u6076\u610f\u5165\u4fb5\uff0c\u5b83\u901a\u8fc7\u4ece\u5916\u8fb9\u5256\u6790\u987e\u5ba2\u673a\u5185\u6838\u5185\u90e8\u6570\u636e\u7ed3\u6784\uff08Tamberi\u540e\u7eed\u7684\u5de5\u4f5c\u548c\u6b64\u6709\u5173\uff09\u3002\u6240\u6709XenKimono\u6a21\u5757\u5728\u5bbf\u4e3b\u673a\u5185\uff0c\u800c\u4e14\u5256\u6790\u865a\u62df\u673a\u7684\u88f8\u663e\u5b58\uff0c\u770b\u662f\u5426\u6709\u6076\u610f\u7a0b\u5e8f\uff08\u6bd4\u5982\uff1arootkits\uff09\u3002\u5728\u4e2d\u7ea7\u5185\u6838\u6570\u636e\u7ed3\u6784\u7ffb\u8bd1\u88f8\u865a\u62df\u673a\u7684\u663e\u5b58\uff0c\u4f46\u662f\u4eceDOMU\u5185\u6838\u4e8c\u8865\u7801\u4e2d\u62bd\u53d6\u5185\u6838\u7b26\u53f7\uff0c\u4f46\u662f\u4f7f\u7528LinuxKernelCrashDump\u5e93\u3002\u8fd9\u6837\uff0cXenKimono\u624d\u80fd\u5728\u88f8\u663e\u5b58\u4e2d\u5b9a\u4f4dDOMU\u5185\u6838\u6570\u636e\u7ed3\u6784\u3002<\/p>\n

\u56db\u3001KVMSEC\u4e00\u4e2a\u5b89\u5168\u76d1\u63a7\u7ed3\u67844.1\u6050\u5413\u6a21\u578b<\/p>\n

\u6211\u4eec\u5047\u8bbehypervisor\u548c\u5bbf\u4e3b\u673a\u5185\u6838\u662f\u53ef\u4fe1\u4f30\u7b97\u57fa\u7684\u4e00\u90e8\u4efd\uff0c\u4f46\u662f\uff0c\u865a\u62df\u673a\u5e76\u4e0d\u662f\u3002\u5f53\u987e\u5ba2\u673a\u8fd0\u884c\u65f6\uff0c\u529f\u51fb\u88ab\u6267\u884c\uff0c\u6076\u610f\u8f6f\u4ef6\u4e5f\u4f1a\u6ce8\u5165\u3002\u5f53\u987e\u5ba2\u673a\u8fd0\u884c\u65f6\uff0c\u5b83\u53ef\u80fd\u6210\u4e3a\u75c5\u6bd2\u3001\u4ee3\u7801\u6ce8\u5165\u3001\u7f13\u51b2\u533a\u6ea2\u51fa\u3001\u751a\u81f3\u6240\u6709\u6076\u610f\u529f\u51fb\u7684\u5974\u96b6\u3002\u5165\u4fb5\u8005\u53ef\u80fd\u4f7f\u7528\u7f3a\u9677\u53bb\u5f71\u54cd\u5185\u6838\u4e0e\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u8fdc\u7a0b\u4f7f\u7528\u8fd9\u79cd\u7f3a\u9677\uff0c\u4f01\u56fe\u83b7\u53d6root\u6743\u9650\u3002<\/p>\n

4.2\u8981\u6c42\u4e0e\u8b66\u544a<\/p>\n

\u5728\u4e0b\u8fb9\uff0c\u57fa\u4e8e\u524d\u9762\u7684\u6050\u5413\u6a21\u578b\uff0c\u6211\u4eec\u63cf\u8ff0\u5bf9\u4e8e\u865a\u62df\u673a\u5b89\u5168\u7cfb\u7edf\u7684\u4e3b\u8981\u8981\u6c42\uff0c\u4e00\u4e9b\u8b66\u544a\u80fd\u88ab\u89e3\u51b3\uff0c\u4e5f\u662f\u80fd\u89e3\u51b3\u5b83\u4eec\u7684\u53ef\u80fd\u65b9\u6cd5\u3002<\/p>\n

Requirements\u8981\u6c42\uff1a\u5bf9\u4e8e\u865a\u62df\u673a\uff0c\u4e00\u4e2a\u5b89\u5168\u7cfb\u7edf\u662f\u548c\u5165\u4fb5\u6d4b\u91cf\u7cfb\u7edf\u5173\u8054\u7684\u3002<\/p>\n

\u4e00\u4e2a\u5b89\u5168\u7cfb\u7edf\u5fc5\u987b\u6ee1\u8db3\u4ee5\u4e0b\u8981\u6c42\uff1a<\/p>\n

RQ1\u8981\u6c421Transparency\u900f\u660e\uff1a\u6b64\u7cfb\u7edf\u5bf9\u4e8e\u865a\u62df\u673a\u56e0\u8be5\u662f\u6700\u5c0f\u5316\u53ef\u89c1\u7684\uff1b\u4e5f\u5c31\u662f\u8bf4\uff0c\u6f5c\u5728\u7684\u5165\u4fb5\u8005\u4e0d\u80fd\u63a2\u6d4b\u5230\u76d1\u63a7\u7cfb\u7edf\u3002<\/p>\n

RQ2\u8981\u6c422ImmunitytoattacksfromtheGuset\u514d\u75ab\u4ece\u987e\u5ba2\u673a\u7684\u529f\u51fb\uff1a\u5bbf\u4e3b\u673a\u548c\u987e\u5ba2\u673a\u5e94\u5f53\u88ab\u4fdd\u62a4\uff0c\u907f\u514d\u4ece\u88ab\u4fb5\u5165\u7684\u987e\u5ba2\u673a\u529f\u51fb\uff1b\u5e76\u4e14\uff0c\u5bbf\u4e3b\u673a\u7684\u7279\u70b9\u4e0d\u5e94\u88ab\u5f71\u54cd\u3002<\/p>\n

RQ3\u8981\u6c423Deployability\u53ef\u5e03\u7f72\u6027\uff1a\u7cfb\u7edf\u5e94\u53ef\u4ee5\u88ab\u5e03\u7f72\u5230\u4e3b\u6d41\u786c\u4ef6\u4e0a\u3002<\/p>\n

RQ4\u8981\u6c424Dynamicreaction\u52a8\u6001\u53cd\u5e94\uff1a\u7cfb\u7edf\u5e94\u68c0\u67e5\u5165\u4fb5\u987e\u5ba2\u673a\u7684\u4f01\u56felinux\u865a\u62df\u673a \u4e3b\u673a<\/strong>\uff0c\u5e76\u91c7\u53d6\u5408\u9002\u7684\u53cd\u5e94\u8c34\u8d23\u5165\u4fb5\u6216\u8c34\u8d23\u50f5\u5c38\u673a\u7684\u529f\u51fb\u3002<\/p>\n

Caveats\u8b66\u544a:<\/p>\n

PR1\u4e00\u4e2a\u4ece\u987e\u5ba2\u673a\u5230\u5bbf\u4e3b\u673a\u7684\u901a\u4fe1\u901a\u9053\u88ab\u8981\u6c42\uff0c\u5bbf\u4e3b\u673a\u53bb\u8bfb\u6709\u7528\u7684\u6570\u636e\uff0c\u5e76\u4ece\u987e\u5ba2\u673a\u62bd\u53d6\u4fe1\u606f\uff0c\u5e76\u4e14\u5b83\u5fc5\u987b\u88ab\u9690\u85cf\u5728\u987e\u5ba2\u673a\u7684\u7528\u6237\u7a7a\u95f4\uff08\u53c2\u8003RQ1\uff09\u3002<\/p>\n

PR2\u4e00\u4e2a\u4ece\u987e\u5ba2\u673a\u5230\u5bbf\u4e3b\u673a\u7684\u8baf\u53f7\u901a\u9053\u5bb9\u8bb8\u5bbf\u4e3b\u673a\u5728\u987e\u5ba2\u673a\u53d1\u751f\u98ce\u6ce2\u65f6\u88ab\u63d0\u793a\uff0c\u7136\u800c\u8fd9\u79cd\u5e94\u5f53\u88ab\u5c3d\u53ef\u80fd\u5730\u9690\u85cf\uff08\u53c2\u8003RQ1\uff09\u3002<\/p>\n

PR3\u4e00\u4e9b\u5728\u901a\u9053\u4e0a\u7684\u5b58\u53d6\u63a7\u5236\u88ab\u8981\u6c42\uff0c\u4e3a\u4e86\u53bb\u4fdd\u8bc1\u4e00\u81f4\u6027\uff0c\u540c\u65f6\u4fdd\u62a4\u4fe1\u606f\u6cc4\u6f0f\uff1b\u8fd9\u6837\uff0c\u4e00\u4e2a\u5b58\u53d6\u63a7\u5236\u673a\u5236\u4e0d\u4f1a\u6709\u5bf9\u6027\u80fd\u7684\u8d1f\u9762\u5f71\u54cd\u3002<\/p>\n

\u4e94\u3001KVMSEC\u6267\u884c<\/p>\n

\u6211\u4eec\u6267\u884cKvmSec\u7684\u539f\u578b\uff0c\u53bb\u5426\u8ba4\u6211\u4eec\u7684\u76ee\u6807\u662f\u53ef\u884c\u7684\u3002KvmSec\u6784\u67b6\u662f\u7531\u597d\u591a\u5728\u5bbf\u4e3b\u673a\u548c\u987e\u5ba2\u673a\u5185\u6838\u4e0a\u7684\u6a21\u5757\uff08\u53ef\u9009\uff09\u6784\u6210\uff0c\u5b83\u4eec\u901a\u4fe1\u901a\u8fc7\u5b89\u5168\u901a\u9053\uff0c\u4f7f\u5bbf\u4e3b\u673a\u5f97\u5230\u6b63\u786e\u7684\u987e\u5ba2\u673a\u72b6\u6001\u3002\u68c0\u6d4b\u7cfb\u7edf\u7684\u4e3b\u6a21\u5757\u5b9a\u4f4d\u4e8e\u5bbf\u4e3b\u673a\u4e0a\uff0c\u81f4\u4f7f\u5728\u987e\u5ba2\u673a\u4e0a\u7684\u529f\u51fb\u8005\u5f88\u96be\u8bbf\u95ee\u5bbf\u4e3b\u673a\u3002\u6570\u636e\uff1a\uff08a\uff09\u80fd\u88ab\u987e\u5ba2\u673a\u8fdb\u7a0b\u641c\u96c6\u6216\uff08b\uff09\u80fd\u88ab\u5bbf\u4e3b\u673a\u4e0a\u7684\u8fdb\u7a0b\u72ec\u5360\u7684\u641c\u96c6\u5e76\u6267\u884c\u3002<\/p>\n

\u975e\u5e38\u5730\uff0c\uff08a\uff09\u51c6\u8bb8\u641c\u96c6\u66f4\u786e\u5207\u7684\u4e0e\u5b8c\u6574\u7684\u987e\u5ba2\u673a\u6570\u636e\uff0c\u5e76\u4e14\u5bb9\u6613\u88ab\u6d4b\u91cf\u3002\u4e00\u4e2a\u987e\u5ba2\u673a\u5b88\u62a4\u8fdb\u7a0b\u4e3b\u8981\u641c\u96c6\u6570\u636e\uff0c\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u5bbf\u4e3b\u673a\u964d\u4f4e\u4f30\u7b97\u8d1f\u8f7d\u3002\u4f46\u662f\uff0c\u5728\u76d1\u63a7\u7cfb\u7edf\u7684\u9690\u853d\u6027\u548c\u964d\u4f4e\u5bbf\u4e3b\u673a\u4f30\u7b97\u8d1f\u8f7d\u6709\u6298\u4e2d\u3002\u5bf9\u4e8e\uff08b\uff09\uff08\u6ca1\u6709\u987e\u5ba2\u673a\u7ec4\u4ef6\uff09\u8fd9\u4e2a\u6280\u672f\u7406\u8bba\u4e0a\u964d\u4f4e\u88ab\u63a2\u6d4b\uff08\u770bRQ1\uff09\uff0c\u5e76\u4e14\u4ec5\u5bb9\u8bb8\u6709\u9650\u7684\u76d1\u63a7\u3002\u7531\u4e8e\u8fd9\u4e2a\u7f18\u7531\uff0cKvmSec\u66f4\u559c\u6b22\uff08a\uff09\uff0c\u800c\uff08b\uff09\u4e5f\u88ab\u652f\u6301\u3002<\/p>\n

\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u5728KvmSec\u4e2d\u6bcf\u4f4d\u865a\u62df\u673a\u4f7f\u7528\u5b83\u81ea\u5df1\u79c1\u6709\u7684\u663e\u5b58\u533a\u4e0e\u5bbf\u4e3b\u673a\u901a\u8baf\uff0c\u5b83\u5b8c\u5168\u72ec\u7acb\u4e8e\u5176\u4ed6\u865a\u62df\u673a\uff08\u53c2\u8003RQ2\uff09\u3002<\/p>\n

KvmSec\u6267\u884c\uff08\u770b\u56fe2\uff09\u88ab\u5206\u4e3a2\u4e2a\u4e3b\u8981\u90e8\u4efd\uff1a\u5bbf\u4e3b\u673a\u548c\u987e\u5ba2\u673a\u3002\u4e8c\u8005\u6709\u76f8\u50cf\u7684\u7ed3\u6784\uff0c\u5b83\u662f\uff1a1\uff09\u4e00\u4e2a\u5185\u6838\u5b88\u62a4\u8fdb\u7a0b\u7ba1\u7406\u4e0e\u5171\u4eab\u901a\u8baf\u901a\u9053\uff1b2\uff09\u4e00\u4e2a\u6a21\u5757\u52a8\u6001\u6536\u6d88\u606f\uff0c\u5256\u6790\u5b83\u4eec\u5e76\u53cd\u5e94\uff08\u751f\u6210\u54cd\u5e94\uff09\u3002<\/p>\n

\u5728\u4e0b\u8fb9\u6211\u4eec\u4e3b\u8981\u5217\u4e3e\u6211\u4eec\u91c7\u7eb3\u7684\u5bf9\u4e8eKvmSec\u7684\u89e3\u51b3\u65b9\u6848\u7684\u5927\u7eb2\uff0c\u54cd\u5e94\u6211\u4eec\u9762\u5bf9\u7684\u6280\u672f\u95ee\u9898\uff0c\u540c\u65f6\u9075\u7167\u539f\u5148\u7684\u8981\u6c42\uff1a<\/p>\n

\u865a\u62df\u4e3b\u673a\u673a\u623f\u5730\u5740_linux\u4e3b\u673a\u865a\u62df\u5316_linux\u865a\u62df\u673a \u4e3b\u673a<\/p>\n

SL1\u5bbf\u4e3b\u673a\u987e\u5ba2\u673a\u901a\u8baf\u7cfb\u7edf\u5728KVM\u4e2d\u4e0d\u53ef\u7528\uff0c\u6211\u4eec\u4e0d\u5f97\u4e0d\u4f7f\u7528\u5171\u4eab\u663e\u5b58\u7684\u65b9\u6cd5\u4f7f\u4e4b\u901a\u8baf\uff08\u770bPR1\uff09\u3002<\/p>\n

SL2\u5728KVM\u4e2d\u6ca1\u6709\u5bbf\u4e3b\u673a\u548c\u987e\u5ba2\u673a\u8baf\u53f7\u901a\u9053\u5f15\u8d77\u6211\u4eec\u8bbe\u8ba1\u4f7f\u7528\u5171\u4eab\u663e\u5b58\u7684\u8baf\u53f7\u673a\u5236\uff08\u770bPR2\uff09\u3002\u6211\u4eec\u4e5f\u4e0d\u9009\u62e9Xen\u7684\u98ce\u6ce2\u901a\u9053\uff0c\u7531\u4e8e\u90a3\u6837\u5b9e\u73b0\u8baf\u53f7\u901a\u9053\u65f6\uff0c\u81f4\u4f7fKvmSec\u5bf9\u4e8e\u65e9\u5df2\u5728\u987e\u5ba2\u673a\u7684\u529f\u51fb\u8005\u80fd\u770b\u89c1\u3002<\/p>\n

SL3\u5728KVM\u4e2d\u7f3a\u5c11\u5171\u4eab\u663e\u5b58\u7684\u5b58\u53d6\u63a7\u5236\u4f7f\u6211\u4eec\u5728\u5171\u4eab\u663e\u5b58\u4e2d\u540c\u6b65\u5bbf\u4e3b\u673a\u4e0e\u987e\u5ba2\u673a\u3002\u4e3a\u4e86\u7b80\u5316\u5b58\u53d6\u63a7\u5236\u7ba1\u7406\uff0c\u6bcf\u4f4dKvmSec\u865a\u62df\u673a\u63d0\u4f9b\u5b83\u81ea\u5df1\u7684\u5171\u4eab\u663e\u5b58\u533a\u4e3a\u548c\u5bbf\u4e3b\u673a\u901a\u4fe1\u3002\u5e76\u4e14\uff0c\u5bf9\u4e8e\u4e24\u4e2a\u53cc\u5411\u901a\u9053\u7684\u6bcf\u4e00\u4e2a\uff0c\u7b80\u5355\u7684\u9501\u5b9a\u673a\u5236\u88ab\u6267\u884c\uff0c\u4e3a\u4e86\u5728\u6d88\u606f\u901a\u884c\u65f6\u53bb\u540c\u6b65\u5b58\u53d6\u3002<\/p>\n

\u5728KVM\u4e2d\uff0c\u4e0d\u50cfXen\uff0c\u5171\u4eab\u663e\u5b58\u4e0d\u88abhypervisor\u76f4\u63a5\u7ba1\u7406\uff0c\u800c\u662f\u88ab\u4e3b\u6a21\u62df\u8fdb\u7a0bQemu-KVM\u7ba1\u7406\u3002\u4f7f\u7528\u5171\u4eab\u663e\u5b58\u7684\u901a\u8baf\u901a\u9053\u548cRQ1\u662f\u4e00\u81f4\u7684\u3002\u5b9e\u9645\u4e0a\uff0c\u5728\u5bbf\u4e3b\u673a\u548c\u987e\u5ba2\u673a\u95f4\u4f7f\u7528\u4e00\u4e2a\u865a\u62df\u7f51\u8def\u5957\u63a5\u5b57\u7684\u7ed3\u679c\u662f\u53ef\u89c1\u7684\u5e76\u5728\u5fd7\u613f\u901a\u8baf\u901a\u9053\u4e2d\uff08\u6b63\u50cf\u53d1\u751f\u5728AIDE[1]\u4e2d\uff09\u3002\u5e76\u4e14\uff0c\u6d88\u606f\u53e5\u67c4\u88ab\u5305\u542b\u5728\u987e\u5ba2\u673a\u5185\u6838\u6a21\u5757\u4e2d\u4e3a\u4e86\u4f7f\u5b83\u5c3d\u53ef\u80fd\u7684\u5b89\u5168\uff0c\u548cRQ2\u4e00\u81f4\u3002\u5728\u5bbf\u4e3b\u673a\u4e0a\uff0c\u6d88\u606f\u53e5\u67c4\u662f\u5728Qemu-KVM\u5171\u4eab\u663e\u5b58\u7ba1\u7406\u6a21\u5757\u4e2d\u6267\u884c\u3002KVM\u5171\u4eab\u663e\u5b58\uff08\u770b\u56fe3\uff09\u75312\u4e2a\u6570\u636e\u7f13\u5b58\u548c2\u4e2a\u9501\u7ec4\u6210\uff0c\u4e3a\u4fdd\u62a4\u76f8\u5e94\u7684\u5173\u952e\u533a\u3002<\/p>\n

\u865a\u62df\u4e3b\u673a\u673a\u623f\u5730\u5740_linux\u4e3b\u673a\u865a\u62df\u5316_linux\u865a\u62df\u673a \u4e3b\u673a<\/p>\n

\u53bb\u6ee1\u8db3RQ4KvmSec\u5e94\u5f53\u80fd\u6d3b\u52a8\u5730\u76d1\u63a7\u8fd0\u884c\u5728\u987e\u5ba2\u673a\u4e0a\u7684\u5173\u952e\u8fdb\u7a0b\u3002\u76ee\u524d\uff0c\u8fd9\u4e9b\u529f\u80fd\u6ca1\u6709\u5b8c\u5168\u5b9e\u73b0\uff1b\u4f46\u662f\uff0cKvmSec\u80fd\u9636\u6bb5\u5730\u68c0\u6d4b\u987e\u5ba2\u673a\u4e0a\u7684\u5b58\u5728\u7684\u548c\u6d3b\u8dc3\u7684\u5b88\u62a4\u8fdb\u7a0b\u6570\u76ee\u3002\u82e5\u679c\u8fd9\u79cd\u8fdb\u7a0b\u5176\u4e2d\u4e00\u4e2a\uff08\u975e\u6b63\u5e38\uff09\u4e2d\u6b62\uff0c\u5bbf\u4e3b\u673a\u5c06\u91c7\u53d6\u5408\u9002\u7684\u7edf\u8ba1\uff0c\u5305\u62ec\u641c\u96c6\u6570\u636e\u4e3a\u9274\u522b\u5256\u6790\uff0c\u751a\u81f3\u51bb\u7ed3\u987e\u5ba2\u673a\u6216\u53ef\u80fd\u91cd\u542f\u52a8\u5b83\uff08\u4f7f\u7528\u53ef\u7528\u7684\u5e72\u51c0\u7684c\u76d8\u955c\u50cf\uff09\u3002KvmSec\u80fd\u521b\u5efa\u4e00\u4e2a\u5bbf\u4e3b\u673a\u65b9\u7684\u6570\u636e\u5e93\uff0c\u5305\u542b\u865a\u62df\u673a\u4e0a\u9009\u53d6\u7684\u5173\u952e\u8def\u5f84\u6587\u4ef6\u7684\u4f30\u7b97\u7684\u6982\u8981\u3002\u4e00\u4e2a\u8fd0\u884c\u65f6\u5b88\u62a4\u8fdb\u7a0b\u80fd\u91cd\u4f30\u7b97hash\u4e3a\u76d1\u63a7\u7684\u6587\u4ef6\u3002\u5018\u82e5\u4e0d\u5339\u914d\u53d1\u89c9\uff0c\u50cf\u524d\u9762\u6240\u63cf\u8ff0\u7684\u4e3e\u63aa\u5c06\u88ab\u6267\u884c\u3002<\/p>\n

\u5728\u5404\u7c7b\u6a21\u5757\u4e2d\u7684\u901a\u8baf\u5408\u540c\uff08\u770b\u56fe4\uff09\u662f\u76f8\u50cf\u7684\u3002\u5bbf\u4e3b\u673a\u548c\u987e\u5ba2\u673a\u660e\u663e\u7684\u533a\u522b\u662f\uff1a<\/p>\n

linux\u4e3b\u673a\u865a\u62df\u5316_linux\u865a\u62df\u673a \u4e3b\u673a_\u865a\u62df\u4e3b\u673a\u673a\u623f\u5730\u5740<\/p>\n

1.\u7ba1\u7406\u4e0e\u5206\u914d\u5171\u4eab\u663e\u5b58\uff1a\u5728\u987e\u5ba2\u673a\u4e0a\u5171\u4eab\u663e\u5b58\u88ab\u5206\u914d\u4e0e\u901a\u8fc7\u5185\u6838\u6a21\u5757\u7ba1\u7406\uff0c\u4f46\u662f\u5728\u5bbf\u4e3b\u673a\uff0c\u5171\u4eab\u663e\u5b58\u5fc5\u987b\u65e9\u5df2\u88ab\u5206\u914d\uff08\u5728\u865a\u62df\u673a\u4e2d\uff09\uff0c\u4f46\u662f\u5b83\u7684\u7ba1\u7406\u88ab\u59d4\u6d3e\u7ed9Qemu-KVM\u8fdb\u7a0b\u3002<\/p>\n

2.\u6a21\u5757\u6570\u76ee\uff1a\u5728\u865a\u62df\u673a\u4e2d\uff0c\u6211\u4eec\u53ea\u987b\u8981\u4e00\u5bf9\u6a21\u5757\uff0c\u7531\u4e8e\u5171\u4eab\u663e\u5b58\u7ba1\u7406\u88ab\u59d4\u6d3e\u7ed9\u5185\u6838\uff0c\u5728\u5bbf\u4e3b\u673a\u4e2d\uff0c\u6211\u4eec\u987b\u89813\u4e2a\u6a21\u5757\uff0c\u5c06\u5728\u4e0b\u4e00\u8282\u4e2d\u6269\u5145\u3002<\/p>\n

5.1KvmSec\u5bbf\u4e3b\u673a<\/p>\n

\u5bbf\u4e3b\u673a\u90e8\u4efd\u75313\u4e2a\u6a21\u5757\u7ec4\u6210\uff1aKvmSecD,DM,Qemu-KVM.<\/p>\n

(1)KvmSecD:\u5b83\u662f\u5b88\u62a4\u8fdb\u7a0b\u800c\u4e14\u8bbf\u95ee\u6240\u6709\u7684\u865a\u62df\u673a\u5730\u5740\u7a7a\u95f4\u3002\u636e\u6089\uff0c\u8fd9\u4e2a\u6a21\u5757\u6653\u5f97\u5176\u4ed62\u4e2a\u5bbf\u4e3b\u673a\u7684\u5b88\u62a4\u8fdb\u7a0b\uff08Qemu-KVM\u548cDM\uff09\uff0c\u7531\u4e8e\u90a32\u4e2a\u5b88\u62a4\u8fdb\u7a0b\u6ce8\u518c\u5b83\u4eec\u7684pid\u5230KvmSecD.<\/p>\n

\u901a\u4fe1\u901a\u9053\u671d\u5411DM\uff1aKvmSecD\u548cDM\u4e4b\u95f4\u7684\u901a\u8baf\u7531\u7ed3\u5408\u7684\u5b57\u7b26\u8bbe\u5907\uff08\u53ebchar_dev\uff09\u6240\u7ba1\u7406,\u7531DM\u901a\u8fc7IOCTL\u63d2\u53e3\u548cPOSIX\u8baf\u53f7\u63a7\u5236\u3002\u5b57\u7b26\u8bbe\u5907\u7684\u80fd\u529b\u4f7f\u7528IOCTL\u63d2\u53e3\u6269\u5145\uff0c\u901a\u8fc7\u5bb9\u8bb8\u4e00\u7cfb\u5217\u5b8f\u4e0e\u5185\u6838\u6a21\u5757\u4ea4\u4e92\uff0c\u8fd8\u5b9a\u4e49\u5230\u8fd9\u79cd\u8bbe\u5907\u7684\u8bbf\u95ee\u7b56\u7565\u3002<\/p>\n

\u5728\u6bcf\u4f4d\u901a\u4fe1\u9636\u6bb5\uff0c\u5185\u6838\u5143\u7d20\uff08\u4e5f\u5c31\u662fbuffers\uff09\u88ab\u5185\u6838\u6a21\u5757\u9501\u95e8\u800c\u4fdd\u62a4\u3002\uff08\u4e3a\u4e86\u8fd9\u4e2a\u76ee\u7684\u6211\u4eec\u7684\u4ee3\u7801\u4f7f\u7528\u4e0b\u8fb9\u7684\u539f\u59cb\u5143\u7d20\uff1asemaphores(semwait),mutexes(mux),atomicvariables(regandqemualive).\uff09\u3002\u8bbf\u95eebuffer\u901a\u8fc7\u4e00\u4e2a\u8fdb\u7a0b\uff08DM\uff09\u4f7f\u7528\u5b8f\u5b8c\u6210linux shell\uff0c\u7531\u4e8e\u5173\u952e\u533a\u57df\u65e9\u5df2\u88ab\u4fdd\u62a4\u3002\u5728\u8fd9\u4e9b\u5f62\u5f0f\u4e0b\uff0c\u7cfb\u7edf\u8d85\u8fc7\u4e00\u4e2a\u7528\u6237\u7a7a\u95f4\u8fdb\u7a0b\u90fd\u53ef\u4ee5\u5347\u7ea7\uff0c\u7531\u4e8e\u5b83\u4eec\u8bbf\u95eebuffer\u901a\u8fc7\u8fd9\u79cd\u5b8f\u3002<\/p>\n

(2)DM\uff1aDM\u662f2\u4e2a\u7528\u6237\u7a7a\u95f4\u5b88\u62a4\u8fdb\u7a0b\u7684\u7b2c\u4e00\u4e2a\uff0c\u75312\u4e2a\u7ebf\u7a0b\u7ec4\u6210\uff1a<\/p>\n

1.DM-\u5b83\u662f\u4e3b\u8981\u7684\u7ebf\u7a0b\uff0c\u7ba1\u7406\uff1aa\uff09DM\u548cKvmSecD\uff0cDM\u548cQemu\u95f4\u7684\u901a\u4fe1\uff1bb\uff09\u8d2f\u4e32Qemu-KVM\u4ece\u5171\u4eab\u663e\u5b58\u521b\u5efa\u4e0e\u63a5\u6536\u6d88\u606f\uff1bc\uff09\u6ce8\u518cDM\u7684pid\u5230KvmSecD\u4e2d\u3002<\/p>\n

2.WATCHER-\u5b83\u662f\u7b2c\u4e8c\u4e2a\u7ebf\u7a0b\uff0c\u7ba1\u7406\uff1aa\uff09Qemu-KVM\u7684\u542f\u52a8\uff1bb\uff09\u6ce8\u518cQemu-KVM\u7684pid\u5230KvmSecD\u4e2d\uff1bc\uff09\u975e\u6b63\u5e38\u4e2d\u6b62Qemu-KVM\uff1b<\/p>\n

\u4e0eQemu\u7684\u901a\u8baf\u901a\u9053\uff1a\u65e2\u7136DM\u548cQemu\u8fdb\u7a0b\u5728\u7528\u6237\u7a7a\u95f4\u6267\u884c\uff0c\u6211\u4eec\u80fd\u4f7f\u7528\u4efb\u4f55LinuxSystemVIPC\u5de5\u5177\u4e3a\u8fdb\u7a0b\u95f4\u901a\u8baf\u3002\u7279\u6b8a\u5730\uff0c\u6211\u4eec\u4f7f\u7528PIPE\uff08\u6216FIFO\uff09<\/p>\n

(3)Qemu-KVM\uff1aQemu-KVM\u662f\u66f4\u6539\u7684Qemu\uff0c\u5b83\u4e0e\u5185\u6838\u6a21\u5757KVM\u5408\u5e76\u901a\u8baf\u673a\u5236\u3002<\/p>\n

Qemu\u4e0eVM\uff08hostandVM\uff09\u7684\u901a\u8baf\u5408\u540c:\u5728\u865a\u62df\u673a\u548c\u5bbf\u4e3b\u673a\u95f4\u7684\u901a\u8baf\u5408\u540c\u4f9d\u8d56\u540c\u6b65\u8bbf\u95ee\u5171\u4eab\u663e\u5b58\u533a\u3002Qemu\u4f7f\u7528cpu_physical_memory_rw\u51fd\u6570\u5bb9\u8bb8\u5199\u865a\u62df\u673a\u7684\u663e\u5b58\u3002Host-VM\u540c\u6b65\u6784\u5efa\u4e8e\u6b64\u51fd\u6570\u3002\u5728\u8fd9\u4e9b\u65b9\u6cd5\u4e0b\uff0c\u591a\u5b58\u53d6\u8bfb\u5199\u7f13\u51b2\u662f\u540c\u6b65\u7684\uff0c\u53d7\u4fdd\u62a4\u7684\uff0c\u64cd\u4f5c\u7cfb\u7edf\u72ec\u7acb\u7684\u3002<\/p>\n

5.2KvmSec\u987e\u5ba2\u673a<\/p>\n

KvmSec\u987e\u5ba2\u673a\u75312\u4e2a\u6a21\u5757\u7ec4\u6210\uff1aKvmSecDVM\u548cDMVM<\/p>\n

(1)KvmSecDVM\uff1a\u5b83\u662fLinux\u5185\u6838\u5b88\u62a4\u8fdb\u7a0b\uff0c\u7ba1\u7406\u865a\u62df\u673a\u548c\u5bbf\u4e3b\u673a\u7684\u901a\u8baf\u3002\u8fd9\u4e2a\u5b88\u62a4\u8fdb\u7a0b\u5bf9\u5185\u6838\u663e\u5b58\u6709\u8bbf\u95ee\u6743\u3002\u8fd9\u4e2a\u6a21\u5757\u5206\u914d\u901a\u4fe1\u7528\u5171\u4eab\u663e\u5b58\u3002\u5e76\u4e14\uff0c\u6211\u4eec\u5206\u914d\u4e00\u4e2abuffer\u5bb9\u7eb3\u5171\u4eab\u663e\u5b58\u7684\u5316\u5b66\u5730\u5740\u3002\u901a\u8baf\u5408\u540c\u540c\u4e0a\u3002<\/p>\n

(2)DMVM\uff1a\u5b83\u662f\u4e00\u4e2a\u5b88\u62a4\u8fdb\u7a0b\uff0c\u5904\u7406\u76d1\u63a7\uff0c\u5256\u6790\uff0c\u521b\u5efa\u54cd\u5e94\u7684\u4efb\u52a1\u3002\u8fd9\u4e2a\u6a21\u5757\u7ba1\u7406\u5171\u4eab\u663e\u5b58\u7684\u6d88\u606f\u3002\u50cf\u5728\u5bbf\u4e3b\u673a\u4e00\u6837\uff0c\u4f7f\u7528\u5b57\u7b26\u8bbe\u5907\uff08char_dev\uff09\u4f5c\u4e3a\u5b83\u4e0eKvmSecDVM\u7684\u901a\u8baf\u901a\u9053\u3002\u901a\u8baf\u5408\u540c\u4e5f\u7c7b\u4f3cDM\u548cKvmSecD\u3002\u8fd9\u4e2a\u6a21\u5757\u68c0\u6d4b\u5173\u952e\u8def\u5f84\u6587\u4ef6\u5b58\u53d6\uff0c\u5e76\u66f4\u6b63\u3002\u8fd9\u4e2a\u6a21\u5757\u5c06\u6765\u7684\u6267\u884c\u5c06\u4e3a\u5176\u4ed6\u96c6\u6210\u68c0\u6d4b\u63d2\u4ef6\u63d0\u4f9b\u7a7a\u95f4\u3002<\/p>\n

\u516d\u3001\u8ba8\u8bba<\/p>\n

KvmSec\u7684\u76ee\u6807\u662f\u63d0\u4f9b\u6f5c\u5728\u7684\u672a\u88ab\u5bdf\u89c9\u7684\uff0c\u4e0d\u88ab\u6697\u4e2d\u7834\u574f\u7684\u7cfb\u7edf\uff0c\u81f4\u4f7f\u53ef\u4ee5\u6355\u6349\u865a\u62df\u673a\u5b8c\u6574\u6027\u7684\u8fdd\u80cc\u3002\u7531KvmSec\u63d0\u4f9b\u7684\u7279\u70b9\u4e0e\u5148\u524d\u7684\u7cfb\u7edf\u60f3\u6bd4\u6700\u660e\u663e\u7684\u6709\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n

\u6027\u80fd\uff1a\u6211\u4eec\u65e9\u5df2\u6267\u884c\u57fa\u672c\u6027\u80fd\u6d4b\u8bd5\u5bf9\u6bd4KvmSec\u4e0eKvm\u3002\u975e\u5e38\u5730\uff0c\u6211\u4eec\u6d4b\u5ea6\u4e86\u65f6\u95f4\u8981\u6c42\uff1a\u6267\u884c\u6807\u51c62.6\u5185\u6838\u4f7f\u7528\u6807\u51c6\u914d\u7f6e\uff08Kernelbuild\uff09\uff0c\u538b\u7f29\u5b83\u7684\u6e90\u4ee3\u7801\u5230tarball(Kernelunbz2).\u6d4b\u8bd5\u4f7f\u7528Vaio\u4fbf\u643a\u5f0f\u8ba1\u7b97\u673a\uff0c2GB\u663e\u5b58\uff0c\u5355\u68382.1Ghz\u5904\u7406\u5668\uff0c\u8fd0\u884cFedora9x86\uff08\u5bbf\u4e3b\u673a\u548c\u865a\u62df\u673a\uff09\u3002\u521d\u6b65\u7ed3\u679c\u5728\u88682\uff0c\u663e\u793aKvmSec\u4ec5\u6bd4Kvm\u8981\u6c42\u521d\u4e00\u70b9\u3002<\/p>\n

linux\u4e3b\u673a\u865a\u62df\u5316_linux\u865a\u62df\u673a \u4e3b\u673a_\u865a\u62df\u4e3b\u673a\u673a\u623f\u5730\u5740<\/p>\n

\u900f\u660e\uff1aKvmSec\u7684\u987e\u5ba2\u673a\u4e0e\u5bbf\u4e3b\u673a\u6d88\u606f\u5e76\u4e0d\u901a\u8fc7\u6807\u51c6\u7f51\u8def\u6808\u63a7\u5236\uff08\u53d1\u751f\u5728\u4e3b\u6d41\u5b8c\u6574\u6027\u7ed3\u6784\uff0c\u770b3.2\u8282\uff09\uff1b\u6240\u6709\u5b83\u4eec\u662f\u4e0d\u53ef\u6d4b\u91cf\u7684\uff08RQ1\uff09\uff1bKvmSec\u4ec5\u4f9d\u8d56\u5b83\u81ea\u5df1\u7684\u5185\u90e8\u901a\u8baf\u5408\u540c\uff08\u770b5.1\u8282\uff09\uff0c\u4f7f\u5b83\u72ec\u7acb\u4e8e\u6240\u91c7\u7eb3\u7684\u865a\u62df\u673a\u7cfb\u7edf\uff0c\u4e0d\u50cfXen\u7684hypervisor\u3002\u5e76\u4e14\uff0cKvmSec\u4e2d\u6bcf\u4f4d\u865a\u62df\u673a\u6709\u5b83\u81ea\u5df1\u7684\u5171\u4eab\u663e\u5b58\u533a\u53ef\u4ee5\u8fdb\u884c\u5bbf\u4e3b\u673a\u548c\u865a\u62df\u673a\u901a\u8baf\uff1b\u8fd9\u4f7f\u6bcf\u4f4d\u901a\u8baf\u901a\u9053\u72ec\u7acb\u7ba1\u7406\uff0c\u5e76\u548c\u5176\u4ed6\u901a\u9053\u4e0d\u76f8\u5173\uff08RQ2\uff09\u3002<\/p>\n

\u8baf\u53f7\uff1aKvmSec\u6f5c\u5728\u7684\u6bd4\u5176\u4ed6\u7cfb\u7edf\uff08\u6bd4\u5982XenRim\uff09\u591a\u4e8e\u88ab\u63a2\u6d4b\uff0c\u7531\u4e8e\u5728\u5bbf\u4e3b\u673a\u548c\u865a\u62df\u673a\u95f4\u6ca1\u6709\u663e\u8457\u7684\u8baf\u53f7\u901a\u9053\uff08RQ1\uff09\uff08\u770b4\u8282\uff09\u3002<\/p>\n

\u5b88\u62a4\u8fdb\u7a0b\u5904\u7406\uff1aKvmSec\u53ef\u4ee5\u5728\u5bbf\u4e3b\u673a\u548c\u987e\u5ba2\u673a\u95f4\u5171\u4eab\u76d1\u63a7\u4efb\u52a1\u3002\u8fd9\u5c06\u63d0\u4f9b\u6027\u80fd\u4f18\u52bf\uff0c\u4f46\u662f\u964d\u4f4e\u5728\u4e00\u822c\u60c5\u51b5\u4e0b\u76d1\u63a7\u7684\u8d28\u91cf\u3002\u516c\u6b63\u7684\u4ea4\u6613\u4f7f\u76d1\u63a7\u987e\u5ba2\u673a\u7684\u6a21\u5757\u8ba9\u6574\u4e2a\u7cfb\u7edf\u66f4\u53ef\u80fd\u906d\u5230\u63a2\u6d4b\u3002\u5728KvmSec\u7ed3\u6784\u4e2d\u987e\u5ba2\u673a\u6a21\u5757\u5e76\u4e0d\u4e25\u683c\u8981\u6c42\u3002<\/p>\n

\u62b5\u6297\u59a5\u534f\uff1a\u6ce8\u610f\u5185\u6838\u63a2\u6d4b\u7cfb\u7edf\u5728\u5bbf\u4e3b\u673a\u4e0a\uff0c\u8fd9\u4f7f\u7cfb\u7edf\u5f88\u96be\u88ab\u6253\u5165\u3002\u5e76\u4e14\uff0c\u7ba1\u7406\u5bbf\u4e3b\u673a\u548c\u987e\u5ba2\u673a\u901a\u8baf\u7684\u6a21\u5757\u5728\u987e\u5ba2\u673a\u5185\u6838\u4e2d\uff08\u770b4\u8282\uff09\uff08RQ2\uff09\u3002<\/p>\n

\u5e03\u7f72\uff1aKvmSec\u80fd\u88ab\u5e03\u7f72\u5728\u4efb\u4f55\u6700\u65b0\u7684Linux\u5185\u6838\u4e2d\uff0c\u800c\u5176\u4ed6\u7684\u5efa\u8bae\uff08\u6bd4\u5982XenKimono\uff09\u8981\u6c42Xen\u865a\u62df\u5316\u7cfb\u7edf\u88ab\u5b89\u88c5\u4e0e\u8fd0\u884c\u5728\u5bbf\u4e3b\u673a\u4e0a\u3002\u63a5\u7740\uff0cKvmSec\u6240\u652f\u6301\u7684\u5bbf\u4e3b\u673a\u5e73\u53f0\u6570\u91cf\u6bd4\u57fa\u4e8eXen\u89e3\u51b3\u65b9\u6848\u591a\uff08\u770b3.1\u8282\uff09\uff08RQ3\uff09\u3002<\/p>\n

\u4e03\u3001\u7ed3\u8bba<\/p>\n

\u5728\u8fd9\u7bc7\u8bba\u6587\u4e2d\uff0c\u6211\u4eec\u63d0\u51fa\u4e00\u4e2a\u6269\u5145Linux\u5185\u6838\u865a\u62df\u673a\u7684\u7ed3\u6784\uff1akvmsec\u3002\u975e\u5e38\u5730\uff0c\u6211\u4eec\u6269\u5145KVM\u805a\u7126\u4e8e\u5b89\u5168\uff0c\u4e3a\u865a\u62df\u673a\u7684\u5b9e\u65f6\u5b8c\u6574\u6027\u76d1\u63a7\u63d0\u4f9b\u4e00\u4e2a\u89e3\u51b3\u65b9\u6848\uff08KvmSec\uff09\u3002\u636e\u6211\u4eec\u4e86\u89e3\uff0c\u8fd9\u662f\u7b2c\u4e00\u4e2a\u9488\u5bf9LinuxKVM\u7684\u5b89\u5168\u8bfe\u9898\u3002\u6211\u4eec\u6240\u5f00\u53d1\u7684KvmSec\u539f\u578b\u6709\u5982\u4e0b\u7279\u70b9\uff1a\u5bf9\u4e8e\u987e\u5ba2\u673a\u662f\u900f\u660e\u7684\uff08\u751a\u81f3\u662f\u65e9\u5df2\u88ab\u6076\u610f\u4fb5\u5165\u7684\u987e\u5ba2\u673a\uff09\uff1b\u652f\u6301\u5168\u865a\u62df\u5316\uff0c\u8fd9\u5c06\u4f7f\u987e\u5ba2\u673a\u65b9\u964d\u4f4e\u88ab\u63a2\u6d4b\u5230\uff1b\u5b83\u80fd\u641c\u96c6\u6570\u636e\u5e76\u4e0e\u987e\u5ba2\u673a\u4ea4\u4e92\uff0c\u5b83\u7684\u5185\u6838\u4fdd\u5b58\u5728\u53d7\u4fdd\u62a4\u7684\u5bbf\u4e3b\u673a\u4e0a\uff1b\u5b83\u63d0\u4f9bhypervisor\u5230\u987e\u5ba2\u673a\u7684\u4e24\u79cd\u5b89\u5168\u901a\u8baf\u65b9\u6cd5\uff1b\u5b83\u80fd\u88ab\u5e03\u7f72\u5230x86\u548cx86_64\u7684\u673a\u5668\u4e0a\u3002<\/p>\n

\u5bf9\u4e8e\u8fdb\u4e00\u6b65\u7684\u7814\u7a76\u65b9\u5411\uff0c\u6211\u4eec\u52aa\u529b\u53bb\u964d\u4f4e\u5165\u4fb5\u68c0\u67e5\u6a21\u5757\uff0c\u5e76\u5c06\u6587\u4ef6\u7cfb\u7edf\u5b8c\u6574\u6027\u5de5\u5177\u52a0\u5165\u5230\u7cfb\u7edf\u6269\u5145\u6a21\u5757\uff0c\u5b8c\u5168\u52a0\u5165\u524d\u9762\u6240\u8ff0KvmSec\u7684\u7279\u70b9\u3002\u8fdb\u4e00\u6b65\u5730\u6df1\u5165\u7814\u7a76\u6027\u80fd\u95ee\u9898\u548c\u4f7f\u7528Windows\u5bb6\u65cf\u7684\u865a\u62df\u673a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

2.\u6a21\u5757\u6570\u91cf\uff1a\u5728\u865a\u62df\u673a\u4e2d\uff0c\u6211\u4eec\u53ea\u9700\u8981\u4e00\u5bf9\u6a21\u5757\uff0c\u56e0\u4e3a\u5171\u4eab\u5185\u5b58\u7ba1\u7406\u88ab\u6307\u6d3e\u7ed9\u5185\u6838\uff0c\u5728\u5bbf\u4e3b\u673a\u4e2d\uff0c\u6211\u4eec\u9700\u89813\u4e2a\u6a21\u5757\uff0c\u5c06\u5728\u4e0b\u4e00\u8282\u4e2d\u6269\u5c55\u3002\u80fd\u88ab\u90e8\u7f72\u5728\u4efb\u4f55\u6700\u65b0\u7684Linux\u5185\u6838\u4e2d\uff0c\u800c\u5176\u4ed6\u7684\u5efa\u8bae\uff08\u4f8b\u5982XenKimono\uff09\u8981\u6c42Xen\u865a\u62df\u5316\u7cfb\u7edf\u88ab\u5b89\u88c5\u4e0e\u8fd0\u884c\u5728\u5bbf\u4e3b\u673a\u4e0a\u3002<\/p>\n","protected":false},"author":1,"featured_media":287439,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-287438","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/287438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=287438"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/287438\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/287439"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=287438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=287438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=287438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}