股票官网

当前位置:错新网文章中心服务器安全维护 → Xen和虚拟化技术学习指南

Xen和虚拟化技术学习指南

减小字体 增大字体 作者:admin  来源:www.hack50.com  发布时间:2011-11-29 8:00:24

站长交易 友情链接交换 企业建站Cuoxin建站大师,招分销商

核心提示:文章标题:Xen和虚拟化技术学习指南。Linux是中国站长站的一个技术频道。包含桌面应用,Linux系统管理,内核研究,嵌入式系统和开源等一些基本分类

1.引言

XIANDAIJISUANJIJUYOUZUGOUQIANGDADENENGLILAILIYONGXUNIHUAJISHUZHICHIDUOGEXUNIJI(VM:virtualmachines),BINGQIEZAIMEIGEXUNIJISHANGGEZIYUNXINGDANDUDECAOZUOXITONGSHILI。ZHEIZHIJIEDAOZHILEXUNIJIJISHUFAZHANDEYOUYIGECHUNTIAN。ZAIBENWENZHONG,WOMENTICHULEXen,YIGEGAOXINGNENGDEYONGYUZIYUANGUANLIDEXUNIJIJIANSHIQI(VMM:VMmonitor)。XenNENGGOUZHICHIDEYINGYONGBIRU:serverconsolidation,co-locatedhostingfacilities,distributedwebservices,securecomputingplatforms[12,16]HEapplicationmobility.

CHENGGONGDIDUIYITAIJIQIJINXINGHUAFEN,SHITANENGGOUZHICHIDUOGECAOZUOXITONGDEBINGFAZHIXING,ZHEIGEGUOCHENGJUYOUHENDUODETIAOZHAN。SHOUXIAN,XUNIJIBIXUSHIBICIXIANGGELIDE:RUGUOYIGEXUNIJIDEZHIXINGHUIYINGXIANGLINGYIGEDEXINGNENG,ZHEISHIBUKEYIBEIJIESHOUDE。ZHEIYIDIANZAICAOZUOGEGEXUNIJIDEYONGHUXIANGHUJIANBINGBUXINRENDEQINGKUANGXIAXIANDETEBIEZHONGYAO。QICI,TABIXUZHICHIDUOZHONGDUOYANGDEBUTONGCAOZUOXITONGYITIGONGJIGEZHONGYIGOU(heterogeneity)DELIUXINGYINGYONGDEZHICHI(//ZHEILIDEYIGOUZHIDESHIYINGYONGKAIFAYITUODECAOZUOXITONGBUTONG,YINCIZAISHIXIANSHANGYEJIUYOUHENDACHAYI,SHIDEYINGYONGBINGBUNENGGOUKUAPINGTAIYIZHI,YINWEIXenBUXUYAODUIYINGYONGCHENGXUJINXINGXIUGAI,NEIMETAJIUBIXUZHICHIGEZHONGCHANGYONGDECAOZUOXITONG;SUOWEILIUXINGDEYINGYONG,JIUSHINEIXIEDAJIACHANGYONGDE、BIXUDEYINGYONG)。DISAN,YOUXUNIHUAJISHUYINRUDEXINGNENGKAIXIAOBIXUYAOXIAO。

XenCAOKONG(//host:CAOZUOHEKONGZHI)DESHICHANGYONGDECAOZUOXITONG,DANSHIXUYAODUICAOZUOXITONGZHONGDEMOUXIEXIANGGUANBUFENJINXINGYIXIEXIUGAI。ZAIBENWENZHONGMIAOSHUHEPINGGUDEXenYUANXINGXITONGNENGGOUZHICHIDUOGEWOMENYANFADEXenoLinuxguestOSSHILIDEBINGFAZHIXING;MEIGESHILIDOUJICHULEHEFEIXUNIHUAQINGKUANGXIADELinux2.4ZHONGXIANGTONGDEYINGYONGERJINZHIJIEKOU。MUQIAN,WOMENDUIWindowsXPDAOXenDEYIZHIHAIMEIYOUWANQUANWANCHENG,DANSHIYIJINGNENGGOUYUNXINGJIANDANDEYONGHUKONGJIANJINCHENG。YIZHINetBSDDEGONGZUOYEZAIJINXINGZHONG。

XenSHIDEYONGHUNENGGOUDONGTAIDISHILIHUAYIGECAOZUOXITONGYIZHIXINGTAMENXUYAODEYINGYONG。ZAIXenoServerXIANGMU[15,35]ZHONG,WOMENZAIISPHUOZHEInternetexchange(//BUZHIZAIZHEIXIECHANGHEZHONGJINGJIHUASUANERQIEYOUJUYOUZHANLVEYIYIDEDIFANG)DEBIAOZHUNFUWUQIYINGJIANSHANGPEIZHILEXen.WOMENZAIQIDONGYIGEXINDEXUNIJIDESHIHOUXUYAOZHIXINGXUKEKONGZHI(admissioncontrol),XIWANGMEIGEXUNIJINENGGOUYIMOUZHONGFANGSHIWEITAXUYAODEZIYUANFUCHUDAIJIA。WOMENZAIQITAWENZHANGZHONGTAOLUNGUOWOMENZAIZHEIGEFANGXIANGSHANGDESILUHEFANGFA[21];XIANZAIZHEIPIANWENZHANGZEJIANGJIAODIANGUANZHUYUXUNIJI。

XIANZAIYOUYIXIEFANGFAYONGYUGOUJIANNENGGOUZAIGONGXIANGDEJIQISHANGCAOKONGDUOGEYINGYONGHEFUWUQI(//server:ZHEILITIDAODEserverYINGGAISHIDAGUIMOYINGYONGDEYISI,BIRUSHUJUKUFUWUQI)DEXITONG。YEXUZUIJIANDANDEFANGFAJIUSHIBUSHUYIGEHUODUOGEYUNXINGZHEBIAOZHUNCAOZUOXITONG(RULinuxHUOZHEWindows)DEZHUJI,RANHOUYUNXUYONGHUMENANZHUANGWENJIANHEQIDONGJINCHENG—YINGYONGJIANDEBAOHUSHIYOUCHUANTONGDECAOZUOXITONGJISHUTIGONGDE(//ZHEILITIDAODEZUOFA,JIUSHILEISIBINGXINGJIXINGZHIDE,GEGEJIEDIANDOUSHIDULIDEZHUJI,DANSHIYIGEYINGYONGKEYIZAIDUOGEJIEDIANSHANGMIANBINGXINGZHIXING)。SHIYANXIANSHI:YOUYUYAOZHENDUIGEGETUOJIE(//supposedlydisjoint:LUOJISHANGTUOJIE,ZHIDESHIYINGYONGBUJUYOULIANGUANXING/JIANRONGXING,SUOYIZHENDUIMEIGEYINGYONGDOUYAODANDUPEIZHIYICI,RUGUONENGXIANGBANFAJIANGQIANHOUYOUGUANLIANDEYINGYONGFANGZAIYIQIZHIXING,KEYIDADAJIANSHAOXIANGGUANDEKAIXIAO,RUPEIZHIKAIXIAO,TONGXINKAIXIAODENGDENG)DEYINGYONGJINXINGFUZADEPEIZHI,ZHEIXIEPEIZHIGUOCHENGDAOZHIDEJIAOHUXINGWEIHUISHIXITONGGUANLIRENWUXUNSUCHENGWEISHIJIANXIAOHAOJUDADERENWU。

GENGZHONGYAODESHI,ZHEIYANGDEXITONGBUNENGGOUCHONGFENDIZHICHIXINGNENGGELI;MOUGEJINCHENGDEDIAODUYOUXIANJI,CUNCHUYAOQIU,WANGLUOTONGXINLIANGHECIPANFANGWENDENGDENGTEZHENGDOUHUIYINGXIANGDAOQITAJINCHENGDEXINGNENG。RUGUOSHIZAIZIYUANGONGYINGCHONGZUERQIEYONGHUQUNTISHIXIANDING(BIRUJISUANWANGGEHUOZHEPlanetLabPINGTAISHIYAN)DEQINGKUANGXIA,ZHEIGEXITONGHAISHIKEYIJIESHOUDE。DANSHIDANGZIYUANSHIGONGBUYINGQIUDESHIHOU,HUOZHEYONGHUJIANBUXIANGXIEZUO(//uncooperative:BUXIANGXIEZUO,BIRUYONGHUJIANDEXUQIUYOUCHONGTU,NEIMEYIDINGHUIHUXIANGYINGXIANGDE)DESHIHOUJIUBUXINGLE。YIGEJIEJUEZHEIGEWENTIDEFANGFASHIGAIJINDUICAOZUOXITONGXINGNENGGELIDEZHICHI。ZHEIYIJINGZAIresourcecontainers,Linux/RK,QLinuxHESILKZHONGBEIHUODUOHUOSHAODISHIXIANLE。ZHEIXIEFANGFAZHONGCUNZAIZHEYIGENANDIANSHINANYIQUEBAOSUOYOUDEZIYUANDOUNENGGOUZHENGQUEDIFENPEIJIYOUXIANGYINGZIYUANXUQIUDEJINCHENG。LIRU,HUANCHONGQUcacheHUOZHECUNCHUYEMIANDETIHUANSUANFADAOZHIDEZAIYINGYONGJIANDEFUZADEJIAOHUXINGWEI(//BIRUCUNCHUYEMIANTIHUANDESHIHOU,MOUGEJINCHENGDEYEMIANTIHUANXULIEHUIGANRAODAOQITAJINCHENGDE,YAOMIANCHUZHEIGEYINGXIANGJIUXUYAOYOUFUZADEJIZHIYONGYUJINCHENGJIANDEXIEDIAO)。ZHEIJIUSHICUNZAIYUCAOZUOXITONGZHONGDE“QoSGANRAOWENTI(QoScrosstalk)”。ZAIDICENGCAIYONGDUOLUZHIXINGJISHUNENGGOUHUANJIEZHEIGEWENTIDAILAIDEYINGXIANG,ZHEIYIJINGZAIExokerneHENemesisCAOZUOXITONGZHONGDEDAOZHENGMING。ZAIZHEIXIECAOZUOXITONGZHONG,RENWUJIANWUYISHIDEHUOZHEBUSHOUHUANYINGDEJIAOHUXINGWEIBEIZUIXIAOHUALE。

WOMENSHIYONGLETONGYANGDEJIBENFANGFALAIGOUJIANXen.XenJIUSHIYIZHENGGECAOZUOXITONGDELIDUFUYONGWULIZIYUAN,TANENGGOUTIGONGZAICAOZUOXITONGJIANDEXINGNENGGELI。XIANGDUIYUJINCHENGJIDEZIYUANFUYONG,XenYAOYUNXUYIDINGFANWEINEIDEguestOS“HEPING”GONGCUN,ERBINGFEIQUZHIDINGYIGETESHUDEYINGYONGERJINZHIJIEKOU(//RUGUOXIANDINGLEYINGYONGERJINZHIJIEKOU,JIUYIWEIZHEZHINENGZHICHIMOUGETEDINGDECAOZUOXITONG)。WEILEHUODEZHEIZHONGLINGHUOXINGJIUBIXUFUCHUYIXIEDAIJIA—WULUNSHIZAICHUSHIHUAGUOCHENG(BIRU,bootHEresumeYUforkHEexecDEBIJIAO)ZHONG,HAISHIZAIZIYUANXIAOFEISHANG,YUNXINGYIGEWANZHENGDECAOZUOXITONGYUYUNXINGYIGEJINCHENGXIANGBIFENLIANGDOUYAOZHONGDEDUO。

WEILEDADAOWOMENDENENGGOUZHICHIDUOZHI100GEBEICAOKONGDECAOZUOXITONGSHILIDEMUBIAO,WOMENRENWEIZHEIXIEDAIJIASHIZHIDEFUCHUDE。FUCHUZHEIXIEDAIJIAHOUHUODEDEXITONGYUNXUDANGEYONGHUZAIZIYUANSHOUKONGDEXINGSHIXIA,ZHIJIEYUNXINGNEIXIEBUXUYAOXIUGAIDEERJINZHIDAIMAHUOZHEERJINZHIDAIMAJIHE(LIRU,HOUDUANWEIPostgreSQLDEApacheFUWUQI)。GENGJINYIBUDE,YINWEIYONGHUNENGGOUDONGTAIDIJINGQUECHUANGJIANTAMENDERUANJIANSUOXUYAODEZHIXINGHUANJING,SUOYIZHEIGEXITONGYEJIUTIGONGLEZAIFEICHANGGAODECENGCISHANGDELINGHUOXING。LINGWAI,ZAIGEZHONGFUWUHEYINGYONGJIANDEPEIZHIJIAOHUYESHIKEYIBIMIANDE(LIRU,MEIGEWindowsSHILIDOUYOUTAMENZIJIDEJICUNQIWENJIAN)。

BENWENDEYUXIABUFENSHIZHEIYANGZUZHIDE:DI2BUFENJIESHILEWOMENDEXUNIHUAFANGFAHEXenDEGONGZUOGAIKUANG。DI3BUFENMIAOSHULEWOMENDESHEJIHESHIXIANDEGUANJIANTEZHENG。DI4BUFENJICHULESHIYONGYEJIEBIAOZHUNDECESHICHENGXUPINGGUYUNXINGZAIXenSHANGDEXenoLinuxYUDANDUDELinux,VMwareWorkstationHEYONGHUMOSHILinux(UML)DEXINGNENGBIJIAOJIEGUO。ZUIHOUDEDI5BUFENTAOLUNLEWEILAIDEGONGZUOBINGZUOLEZONGJIE。

2.XEN:方法和概述

ZAICHUANTONGDEVMMZHONG,XUNIYINGJIANDEGONGNENGSHIYUDICENGJIQISHANGDEZHENSHIYINGJIANWANQUANXIANGTONGDE。ZHEIZHONG“WANQUANXUNIHUA”(fullvirtualization)DEFANGFAZUIXIANERYIJIANDEHAOCHUZAIYUCAOZUOXITONGKEYIBUJINGRENHEXIUGAIJIUZHIJIEZAIXUNIYINGJIANSHANGYUNXING,DANSHITAYEYOUHENDUOQUEDIAN。TEBIESHIZHENDUINEIXIEDANGQIANBEIGUANGFANYINGYONGDEIA32(HUOZHECHENGZUOx86)JIAGOU,ZHEIZHONGFANGFADAILAIDEQUEXIANGENGSHIBURONGHUSHI。

x86JIAGOUDESHEJICONGLAIJIUBUZHICHIWANQUANDEXUNIHUA。RUGUOYAOZHENGQUESHIXIANx86JIAGOUXUNIHUA,VMMJIUBIXUNENGGOUDUIMOUJITIAOTEDINGDE“CHAOJIZHILING(supervisorinstruction)”JINXINGCAOZUO。DANSHI,RUGUOZAIMEIYOUZUGOUTEQUANDEQINGKUANGXIAZHIXINGZHEIXIECHAOJIZHILINGHUIDAOZHI“CHENMODESHIBAI(//failsilently:RUGUOTEQUANJIBUGOU,NEIMEHUIZHIJIEDAOZHIZHIXINGSHIBAI,BUHUICHANSHENGQITAXIANGYING)”,ERBINGFEICHANSHENGYIGEBIANYUWOMENSHIYONGDEXIANJING(trap)。

LINGWAI,JIANGx86JIAGOUZHONGDEMMUJINXINGYOUXIAODEXUNIHUAYESHIYIJIANHENKUNNANDESHIQING。ZHEIXIEWENTISHIKEYIBEIJIEJUEDE,DANSHIZAIJIEJUEDETONGSHIBIXUYAOFUCHUCAOZUOFUZADUZENGJIAHEXITONGXINGNENGJIANGDIDEDAIJIA。VMwareESXServer[10]XUYAODONGTAIDIZHONGXIENEIXIEBEIVMMCAOKONGDEJIQIMABUFEN,ZAIQIZHONGYOUKENENGXUYAOVMMGANSHEDEDIFANGCHARUXIANJINGCAOZUO(//ZAISHENMEDIFANGCHARUXIANJINGCAOZUO,SHIZAICHENGXUYUNXINGQILAIHOUCAIZHIDAODE,SUOYIXUYAODONGTAIDIZHONGXIEXIANGGUANDAIMA)。YINWEIWUBIYAODUISUOYOUNEIXIEBUNENGGOUYINQIXIANJINGDETEQUANZHILINGJINXINGBUZHUOHECAOZUO,SUOYIZHEIZHONGZHUANHUAN(//DONGTAIZHONGXIEDAIMA)YAOBEIYINGYONGYUZHENGGEguestOSDENEIHE(DAOZHILEXIANGGUANDEZHUANHUAN,ZHIXINGHEHUANCUNDENGKAIXIAO)。ESXServerSHIXIANZHONGCAIYONGDEJISHUSHIJIANLIXITONGJIEGOU(systemstructure)(BIRUYEBIAO)DEYINGZIBANBEN,TONGGUOWEIMEIYICI“GENGXIN”CAOZUOSHELIXIANJINGLAIJIEJUEXUNIYEBIAOHEWULIYEBIAODEYIZHIXINGWENTI(//JUTIXIJIEHAISHIYAOKANESXServerDESHUOMING)。DANSHIZAICHULI“GENGXINMIJI”XINGDECAOZUO(RUCHUANGJIANXINDEYINGYONGJINCHENG)DESHIHOU,GAIFANGFAHUIDAILAIGAOANGDEKAIXIAO。

CHULEx86JIAGOUFEICHANGFUZADEYUANYIN,HAIYOUYIXIEQITAFANGMIANDEZHENGLUNFANDUI“WANQUANXUNIHUA”。QIZHONGZHIDEYITIDESHI,BEICAOKONGDECAOZUOXITONGZAIYIXIEQINGKUANGXIAXUYAOJIECHUDAOZHENSHIDEZIYUAN。LIRU,TIGONGZHENSHISHIJIANHEXUNISHIJIANYIYUNXUguestOSNENGGOUGENGHAODIZHICHI“SHIJIANMINGAN”XINGDERENWU,HAIKEYIZHENGQUEDICAOZUOTCPCHAOSHIHERTTGUSUAN;JICHUZHENSHIDEJIQIDIZHIYIYUNXUguestOSNENGGOULIYONGCHAOJIYE(superpage)HUOZHEYERANSE(pagecoloring)DENGFANGFAGAIJINXINGNENG。

WOMENTICHUDEXUNIJICHOUXIANGNENGGOUBIMIANWANQUANXUNIHUADAILAIDEZHONGZHONGQUEXIAN。ZHEIZHONGXUNIJICHOUXIANGHEDICENGYINGJIANXIANGSIQUEBINGBUWANQUANXIANGTONG,YINCIBEICHENGZHIWEI“ZHUNXUNIHUA”(//paravirtualization:HUOZHEFANYIWEIBANXUNIHUA?HOUMIANYIWENYANYONGZHUNXUNIHUA)FANGFA。ZHEIZHONGFANGFASUIRANXUYAODUIguestOSJINXINGYIXIEGAIDONG,DANSHITANENGGOUGAISHANXINGNENG。HAIYOUTEBIEZHONGYAODEYIDIANXUYAOSHUOMING:ZHUNXUNIHUAFANGFABUHUIDUIYINGYONGERJINZHIJIEKOU(ABI)JINXINGXIUGAI,YINCIYONGHUYEJIUBUYONGXIUGAINEIXIEZAIguestOSSHANGZHIXINGDEYINGYONGCHENGXU。

#p#分页标题#e#

WOMENJINXINGDE配资公司 ZHUNXUNIHUAFANGFADETAOLUNYAOZUNXUNYIXIAYIXIEGUIZE:

1.ZUIJIBENDESHIYAOZHICHINEIXIEBUJINGGAIDONGDEYINGYONGERJINZHIWENJIANDEZHIXING,JIYONGHUBUYONGDUIYINGYONGCHENGXUZUOZHENDUIXenDEZHUANHUAN。YINCIWOMENBIXUXUNIHUAXIANYOUDEBIAOZHUNABISUOXUDEQUANBUTIXIJIEGOUTEZHENG。

2.HENZHONGYAODEYIDIANSHIYAOZHICHIWANZHENGDEDUOYINGYONGCAOZUOXITONG。ZHEIJIUXUYAOJIANGZAIDANGEguestOSSHILIZHONGDEFUZADEFUWUQIPEIZHIXUNIHUA(//LIRU,RUGUOguestOSSHANGPEIZHILEftpFUWU,NEIMEXUNIYINGJIANJIUYAODAKAIXIANGYINGDUANKOU)。

3.ZHUNXUNIHUAWUBIYAOYOUHENGAODEXINGNENG。LINGWAIZHENDUINEIXIEBUXIEZUO(//uncooperative:ZHEILIDEBUXIEZUOSHIZHIYINGJIANJIAGOUBUZHICHIGONGXIANG,SUOYICAIXUYAOZIYUANGELI)DEJIQIJIAGOU,RUx86JIAGOU,ZHUNXUNIHUAHAIXUYAONENGGOUTIGONGHENQIANGDEZIYUANGELINENGLI。

4.ZAIXIEZUO(cooperative)DEJIQIJIAGOUSHANG,ZHUNXUNIHUAFANGFAYAONENGGOUWANQUANDIYINZANGZIYUANXUNIHUADAILAIDEYINGXIANG,JIANSHAOguestOSZAIZHENGQUEXINGHEXINGNENGSHANGMIANLINDEFENGXIAN。

QINGZHUYI,WOMENZAIZHEILITICHUDEZHUNXUNIHUADEx86CHOUXIANGDEFANGFASHIYUZUIJINZAIDenaliXIANGMUZHONGTICHUDEFANGFAYOUHENDACHAYIDE。DenaliSHIWEILEZHICHISHUYIQIANJIDEYUNXINGZHEWANGLUOFUWUDEXUNIJIERSHEJIDE。ZHEIXIEWANGLUOFUWUZHONGJUEDABUFENSHIXIAOGUIMODE,BULIUXING(//YINGYONGDEBULIUXINGYEJIUSHUOMINGLEYUNXINGGAIYINGYONGDEHUANJINGBIJIAOSHAO,SUOYIZHIYAOZHENDUIZHEIXIEXIANGYINGDETEDINGHUANJINGZUOZHUANMENDEXUNIHUAJIKE)DEYINGYONG。YUZHIXIANGFANDESHI,XenDESHEJIZUIZHONGYAOZHICHIJIN100GEYUNXINGZHEYEJIEBIAOZHUNYINGYONGHEFUWUDEXUNIJI。YOUYUSHEJIMUBIAODEJIDACHAYI,WOMENBUFANGJIANGDenaliDESHEJIXUANZEHEWOMENZIJIDESHEJIGUIZEZUOYIGEYOUYIDETAOLUN。

SHOUXIAN,DenaliBUXUYAOGUANZHUXIANYOUDEABI,YINCITAMENDEVMJIEKOUHULVEDIAOLEXIANGGUANDEJIAGOUTEZHENG。LIRU,DenaliBINGBUWANQUANZHICHIx86DEFENDUANJIZHI,DANSHIZHEIYIDIANQUESHIZAINetBSD,LinuxHEWindowsXPDENGCAOZUOXITONGDEABIZHONGDOUYOUTICHUBINGQIEBEIGUANGFANSHIYONG。LIRU,XIANCHENGKUZHONGJINGCHANGHUISHIYONGFENDUANJIZHILAIXUNZHIXIANCHENGJUBUSHUJU。

QICI,DenaliDESHIXIANMEIYOUJIEJUEZAIDANGEguestOSZHONGZHICHIDUOGEYINGYONG(applicationmultiplexing)DEWENTI,YEMEIYOUJIEJUEDUODIZHIKONGJIANDEWENTI。YINGYONGBEIXIANSHIDILIANJIEDAOIlwacoguestOSSHILISHANG,ZHEIMEZUOZAIMOUZHONGYIYISHANGLEISIYUZHIQIANZAIExokernelZHONGDElibOS[23].YINCIMEIGEXUNIJIZHINENGCAOKONGYIGEDANYONGHUDANYINGYONGDEMEIYOUBAOHUCUOSHIDESUOWEIDE“CAOZUOXITONG”。ZAIXenZHONG,YUZHIXIANGFAN,MEIGEXUNIJISHANGNENGGOUCAOKONGYIGEZHENZHENGDECAOZUOXITONG。ZHEIGECAOZUOXITONGSHANGNENGGOUANQUANDIZHIXINGSHUYIQIANJIGEBUJINGGAIDONGDEYONGHUJIJINCHENG。SUIRANDenaliHAOCHENGKAIFALEYIGEXUNIMMUYUANXINGNENGGOUDUIQIZAIGAILINGYUYOUSUOBANGZHU,DANSHIWOMENMEIYOUKANDAOGONGKAIDEJISHUXIJIEHEPINGGUBAOGAO。

ZAICI,ZAIDenaliTIXIJIEGOUZHONG,SHIYOUVMMZHIXINGQUANBUDENEICUNYUCIPANJIANDEYEMIANDIAODUDE。ZHEIKENENGSHIYUXUNICENGQUEFACUNCHUGUANLIZHICHIYOUGUAN。YOUVMMWANCHENGYEMIANDIAODUSHIYUWOMENDEXINGNENGGELIMUBIAOXIANGWEIBEIDE:NEIXIE“YOUEYI”DEXUNIJIKENENGHUIGUYICHANSHENGDOUDONGXINGWEI,DAOZHIQITAXUNIJIDECPUSHIJIANHECIPANDAIKUANBEIBUGONGPINGDIBODUO(//VMMJIANKONGHENDUOVM,GEGEVMSHANGZAIPAOCAOZUOXITONG,SUOYIRUGUOHENDUOSHIQINGDOUFANGZAIVMMZHONGZUOBIRANHUIYINGXIANGDAOGEGEVM;SUOYIYAOBAYIXIESHIQINGFANGZAISHANGMIANDECAOZUOXITONGZUOLAIDADAOGELIXING)。ZAIXenZHONG,WOMENXIWANGMEIGEguestOSZAIQIZIJIFENPEIDAODENEICUNKONGJIANHECIPANQUYUNEIZHIXINGTAZIJIDEYEMIANDIAODU(CIQIANYIJINGYOUself-pagingDEFANGFABEITICHU)。

ZUIHOU,DenaliWEIJIQIDEQUANBUZIYUANXUNILE“MINGZIKONGJIAN”。ZHEIYANGDEHUA,RUGUOYIGEVMBUNENGGOU“JIAOCHU”LINGYIGEVMXIAXIADEZIYUANDEMINGZI,NEIMEGAIVMJIUBUNENGGOUFANGWENZHEIXIEZIYUAN(LIRU,DenaliZHONGDEVMBINGBUZHIDAOYINGJIANDIZHI,TAMENZHIKANDEDAODenaliCHUANGJIANDEXUNIDIZHI)。YUCIXIANGDUI,WOMENRENWEIhypervisorZHONGDEANQUANFANGWENKONGZHIYIJINGZUYIQUEBAOANQUANXING;CIWAI,JIUXIANGZHIQIANTAOLUNGUODE,DANGQIANZAIguestOSSHIFOUYINGGAINENGGOUZHIJIEKANDAOWULIZIYUANZHEIYIDIANSHANGCUNZAIZHEHENRELIEDE配资公司 ZHENGQUEXINGHEXINGNENGDEZHENGLUN。

ZAIHOUXUDEZHANGJIELI,WOMENJIANGMIAOSHUXenTICHUDEXUNIJICHOUXIANG,RANHOUJIANGTAOLUNRUHEJIANGYIGEguestOSZUOBIYAODEGAIDONGYISHIYINGXen.ZAIZHEIPIANWENZHANGLIWOMENDINGYILEYIXIESHUYUYAOTIXINGDAJIAZHUYI。LIRU,SHUYUguestOSSHIZHIXenNENGGOUCAOKONGDECAOZUOXITONGZHIYI;SHUYUdomainSHIZHIYIGEYUNXINGZHONGDEXUNIJI,ZAIQISHANGYOUYIGEguestOSZAIZHIXING。programHEprocessZHIJIANDEQUBIEHECHUANTONGXITONGZHONGDEQUBIELEISI。WOMENCHENGXenBENSHENWEIhypervisor,YINWEITAYUNXINGDETEQUANJIYAOBITASUOCAOKONGDEguestOSZHONGDEsupervisorcodeYUNXINGDETEQUANJIGENGGAO。

2.1XUNIJIJIEKOU

YIGEZHUNXUNIHUADEx86JIEKOUZHUYAOBAOKUOLEXITONGZHONGDESANGEDADEFANGMIAN:CUNCHUGUANLI,CPUHESHEBEII/O.ZAIXIAMIAN,WOMENJIANGYICIJIESHAOGEGEJIQIZIXITONGDEQINGKUANG,BINGTAOLUNZAIWOMENDEZHUNXUNIHUAJIAGOUZHONGSHIRUHETIXIANDE。SUIRANZAIWOMENDESHIXIANZHONG,YOUXIANGDANGYIBUFEN,RUCUNCHUGUANLI,SHIZHUANMENZHENDUIx86DE,DANSHISHIJISHANGHAIYOUHENDUOFANGMIAN(BIRUWOMENXUNIDECPUHEI/OSHEBEI)DOUSHIKEYIHENRONGYIDIYINGYONGYUQITAJIQIJIAGOUSHANGDE。GENGJINYIBUDISHUO,ZAIYURISCJIAGOUZAISHIXIANSHANGYOUCHAYIDEHENDUODIFANG,x86WANGWANGBIAOXIANCHUDESHIGAIFANGMIANZUIHUAIQINGKUANGSHIDEQINGXING。LIRU,DUIYINGJIANYEBIAOJINXINGYOUXIAODEXUNIHUAJIUBIXUNIHUAYIGERUANJIANGUANLIDETLBKUNNANHENDUO。

CUNCHU

GUANLIFENDUANBUNENGGOUSHIYONGJUYOUWANQUANTEQUANJIDEDUANMIAOSHUFU,BUNENGGOUYUXIANXINGDIZHIKONGJIANDEZUIDINGBUJIAODIE(//YINWEIZUIDINGBUSHIXen)。

FENYEguest

OSZHIJIEDUIYINGJIANYEBIAOZUODUFANGWEN,DANSHIGENGXIN(//JIUSHIXIE)SHIFENPIJINXINGDEERQIEYAOJINGGUOhypervisorQUEREN。YIGEdomainKEYIBEIFENPEIZAIBULIANXUDEYEMIANSHANG。

CPUBAOHUguestOSBIXUYUNXINGZAIDIYUXenDETEQUANJISHANG。

YICHANGguestOSBIXUJIANGYICHANGJUBINGDEMIAOSHUFUBIAOZAIXenZHONGJILU。CHULEYEMIANCUOWUWAI,QITAJUBINGHEZHENSHIDEx86JIAGOUXIANGTONG。

XITONGDIAOYONGguestOSWEIXITONGDIAOYONGTIGONGYIGE“KUAISU”DEJUBING。YUNXUYINGYONGZHIJIEDIAOYONGTASUOZAIDEguestOS,ERBUBIJIANJIEDITONGGUOXenWANCHENGMEICIDIAOYONG。

ZHONGDUANYINGJIANZHONGDUANBEIYIGEQINGLIANGJIDESHIJIANXITONGTIHUAN。

SHIJIANMEIGEguestOSJUYOUYIGEDINGSHIQIJIEKOU,KEYIDEDAO“ZHENSHIDE”HE“XUNIDE”SHIJIAN。

SHEBEII/OWANGLUO,CIPAN,……XUNISHEBEIFANGWENQILAIHENJIANDAN。SHUJUCHUANDISHIYONGDESHIYIBUI/OHUAN。YOUYIGESHIJIANJIZHITIHUANYINGJIANZHONGDUANLAIFABUTONGGAO。

2.1.1CUNCHUGUANLI

XUNIHUACUNCHUHAOWUYIWENSHIZHUNXUNIHUAYIGETIXIJIEGOUZHONGZUIKUNNANDEBUFEN,TABAOKUOhypervisorSUOXUDEJIZHIHEYIZHIGEGEguest

OSSUOXUDEGAIDONG。RUGUOZAIJIAGOUZHONGTIGONGLEYOURUANJIANGUANLIDETLBDEHUA,NEIMEZHEIGERENWUHUIBIANDEQINGSONGXIE,TAMENKEYIYIBIJIAOJIANDANDEFANGSHIBEIYOUXIAODIXUNIHUA[13].DAIBIAOJIDETLBSHILINGWAIYIGEZAIDABUFENRISCJIAGOU(ZHEIXIERISCJIAGOUZHUYAOYONGYUGOUJIANFUWUQI,BIRUAlpha,MIPSHESPARC)ZHONGZHICHIDEYOUYONGTEZHENG。QIZHONG,MEIGETLBXIANGDOUYOUHEDIZHIKONGJIANBIAOSHIFUXIANGGUANDEBIAOJI,ZHEISHIDEhypervisorHEGEGEguestOSNENGGOUYOUXIAODIZAIBEIGELIKAIDEDIZHIKONGJIANNEIGONGCUN。ZHEISHIZAIZHIXINGZHUANYI(//transferringexecution:ZAIJINCHENGZHIXINGJIANQIEHUANDESHIHOU,ZHIXINGDEZHILINGXULIECONGYIGEJINCHENGZHUANYIDAOLINGYIGEJINCHENG,CHENGWEIZHIXINGZHUANYI)DESHIHOU,SHIBUXUYAOSHUAXIN(flush)ZHENGGETLB(//ZHIDUIJUYOUHEZIJIDEDIZHIKONGJIANBIAOSHIFUXIANGWENHEDETLBXIANGJINXINGCAOZUO)。

BUXINGDESHI,x86JIAGOUBINGMEIYOUYOURUANJIANGUANLIDETLB;QUERDAIZHIDESHIZAIFASHENGTLBSHIXIAODESHIHOU,CHULIQIHUIZIDONGTONGGUOBIANLIYINGJIANYEBIAOJIEGOULAICHULI。YINCIWEILEHUODEZUIHAODEKENENGDADAODEXINGNENG,DANGQIANDIZHIKONGJIANNEISUOYOUDEYOUXIAOYECHUANSHU)DOUYAOZAIYINGJIANKEFANGWENDEYEBIAOZHONGJICHU(//ZUIHAOQINGKUANGLIYINGRUCI,DANSHIJIRUHEZUODEDAONI?)。CIWAI,YINWEITLBSHIMEIYOUBIAOJIDE,SUOYIDIZHIKONGJIANDEQIEHUANXUYAOZHENGGETLBDESHUAXIN。ZAIZHEIXIEXIANZHIXIA,WOMENZUOCHULELIANGGEJUEDING:(i)YOUguestOSFUZEFENPEIHEGUANLIYINGJIANYEBIAO,ZHEIMEZUOZUIXIAOHUALEXenDUIYEBIAOCAOZUODEYINGXIANG,QUEBAOLEANQUANXINGHEGELIXING;(ii)XenCHUYUMEIGEDIZHIKONGJIANDEZUIDINGBUDE64MBKONGJIANNEI,YINCIBIMIANLEZAIJINRUHELIKAIhypervisorSHIJINXINGTLBSHUAXINCAOZUO(//ZHEIGEYAOKANYUANDAIMACAINENGZUIHOUGAOQINGCHU)。

MEIDANGguestOSXUYAOYIGEXINDEYEBIAO,LIRUCHUANGJIANLEYIGEXINJINCHENG,TAJIUZAIZIJIBAOLIUDENEICUNKONGJIANNEIFENPEIHECHUSHIHUAYIGEYEMIAN,BINGQIEJIANGQIZAIXenZHONGJILU。CISHICAOZUOXITONGBIXUFANGQIDUIYEBIAOCUNCHUKONGJIANZHIJIEXIEDEQUANXIAN:SUOYOUHOUXUDEGENGXINCAOZUODOUBIXUYOUXenJINXINGQUEREN。ZHEIJIUZAIHENDUOFANGMIANXIANZHILEGENGXINCAOZUO,BAOKUOZHIYUNXUCAOZUOXITONGTAZIJISUOSHUDEYEJINXINGYINGSHECAOZUO,BUYUNXUDUIYEBIAOJINXINGKEXIEDEYINGSHECAOZUO。guestOSKEYICHENGPIDIJINXINGGENGXINCAOZUOYIJIANSHAOMEICIGENGXINDOUYAOJINRUhypervisorDAILAIDEDAIJIA(//YINWEIMEICIGENGXINDOUYAOhypervisorQUEREN)。MEIGEDIZHIKONGJIANDINGBUDE64MBQUYUSHIBAOLIUJIXenDE,SHIBUNENGGOUBEIguestOSFANGWENHUOZHEZHONGXINJINXINGYINGSHEDE。YINWEIRENHETONGCHANGDEx86JIAGOUZHONGDEABIDOUBUHUISHIYONGDAOZHEIGEQUYUZHONGDEDIZHI,SUOYIZHEIGEYUESHUBUHUIPOHUAIDAOYINGYONGCHENGXUDEJIANRONGXING。

#p#分页标题#e#

FENDUANJIZHIYESHIYILEISIDEFANGSHI,TONGGUODUIYINGJIANDUANMIAOSHUFUBIAODEGENGXINQUERENLAIJINXINGXUNIHUA(//ZHEIYANGZUOJIUDADAOXUNIHUADEMUDELEME?E,YINGGAISHIXenZAIQUERENHOUJIEZHEYOUXenZHIXING,NG)。DUIYUx86JIAGOUSHANGDUANMIAOSHUFUDEXIANZHIZHIYOU:(i)TAMENDETEQUANJIBIEBIXUBIXenYAODI;(ii)TAMENBUNENGGOUDUIDIZHIKONGJIANZHONGXenDEBAOLIUBUFENJINXINGFANGWEN。

2.1.2CPU

XUNIHUACPUDUIguestOSTICHULEJIGEYAOQIU。YINWEIhypervisorCHAZAICAOZUOXITONGDEXIACENGWEIBEILEGUANCHANGDE配资公司 CAOZUOXITONGZAIZHENGGEXITONGZHONGTEQUANZUIGAODEJIASHE。WEILEBAOHUhypervisorBUHUISHOUDAOCAOZUOXITONGBUZHENGQUEXINGWEIDEYINGXIANG(JIdomainBUSHOULINGYIGEdomainDEYINGXIANG),guestOSJIUBIXUBEIGAIZAOWEINENGGOUYUNXINGZAIJIAODIDETEQUANJISHANG。

HENDUOCHULIQITIXIJIEGOUZHISHITIGONGLELIANGGETEQUANJI。ZAIZHEIXIEQINGKUANGXIA,guestOSHEYINGYONGCHENGXUGONGXIANGJIAODIDETEQUANJI。TONGSHI,guestOSYUNXINGZAIDANDUDEDIZHIKONGJIANZHONGYIBAOHUZIJIBUHUISHOUDAOYINGYONGCHENGXUZHIXINGDEYINGXIANG。guestOSTONGGUOhypervisorSHEDINGXUNIDETEQUANJIHEGAIBIANDANGQIANDEDIZHIKONGJIANLAIJIANJIEDIHEYINGYONGZHIJIANJINXINGKONGZHICHUANDI。LINGWAI,RUGUOCHULIQIDETLBZHICHIDIZHIKONGJIANBIAOJI,NEIMEYEJIUKEYIBIMIANTLBSHUAXINDAILAIDEGAOANGDAIJIA。

ZAIx86JIAGOUSHANGYOUXIAODISHIXIANTEQUANJIDEXUNIHUASHIKENENGDE,YINWEIx86JIAGOUZAIYINGJIANSHANGZHICHISIGEBUTONGDETEQUANJI。x86JIAGOUDETEQUANJIWANGWANGYONGQUAN(ring)LAIBIAOSHI,CONGring0(ZUIGAOTEQUAN)DAOring3(ZUIDITEQUAN)。CAOZUOXITONGDEDAIMAYUNXINGZAIring0ZHEIGETEQUANJISHANG,YINWEIZAIMEIYOUQITADEringNENGGOUZHIXINGNEIXIETEQUANZHILING。ring3TONGCHANGYONGYUZHIXINGYINGYONGDAIMA。JIUWOMENSUOZHI,ZIOS/2QIDAOXIANZAIDEGEGEZHIMINGDEx86JIAGOUSHANGDECAOZUOXITONGDOUHAIMEIYOULIYONGring1HEring2ZHEILIANGGETEQUANJIDE。NEIME,RENHEZUNXUNZHEIGETONGCHANGDEANPAIDECAOZUOXITONG(//MEIYOULIYONGring1HEring2)JIUDOUKEYIYIZHIDAOXenSHANGLAI。

ZHEIGEYIZHIGUOCHENGZHIXUYAOZUOYIXIEGAIDONGSHICAOZUOXITONGGAIWEIYUNXINGZAIring1TEQUANJISHANG。ZHEIJIUFANGZHILEguestOSHUIZHIJIEZHIXINGTEQUANZHILING,YEBAOZHENGLECAOZUOXITONGYUYUNXINGZAIring3SHANGDEYINGYONGCHENGXUZHIJIANXIANGGELIDEANQUANXING。

TEQUANZHILINGXUYAOBEIXenQUERENHEZHIXINGYIDADAOZHUNXUNIHUADEMUDE,ZHEIZHUYAOYINGYONGYUZHURUANZHIXINDEYEBIAO,HUOZHEZAICHULIQIidleSHIFANGQIZHI(ERBUSHIQUhltTA)DENGCAOZUO。YINWEIZHIYOUXenYOUZUGOUGAODETEQUANJILAIZHIXINGZHEIXIEZHILING,SUOYIRENHEguestOSSHITUZHIJIEYUNXINGTEQUANZHILINGDOUHUISHIBAI,HOUGUOYAOMESHI“CHENMO”YAOMESHICHANSHENGCUOWU。

YICHANG,BAOKUONEICUNCUOWUHERUANJIANXIANJING,DOUKEYIZAIx86JIAGOUDEJICHUSHANGZHIJIEJINXINGXUNIHUA。YOUYIGEBIAO,NEIRONGWEIDUIMEILEIYICHANGJINXINGMIAOSHUDEJUBING。BIAOZHONGSUOLIEDEYICHANGDOUSHIZAIXenZHONGYOUJILUDE,YIYONGZUOQUEREN。BIAOZHONGJICHUDEJUBINGDOUSHIYUZHENZHENGDEx86YINGJIANZHONGXIANGTONGDE;ZHISUOYIZHEIYIDIANSHIKENENGZUODAODE,ZHUYAOSHIYINWEIZAIWOMENDEZHUNXUNIHUAJIAGOUZHONG,YICHANGDUIZHANKUANGJIASHIMEIYOUBEIXIUGAIDE。WEIYIDEYIGEGAIDONGSHIZAIYEMIANCUOWUJUBINGSHANG。YINWEIGAIJUBINGDECAOZUOXUYAOCONGTEQUANCHULIQIJICUNQI(CR2)ZHONGDUCHUCHUCUODEDIZHI;DANSHIZHEISHIBUKENENGDE(//YINWEITEQUANJIBIEBUGOULE),WOMENJIUJIANGTA(//YEMIANCUOWUJUBING?CR2DEZHI?)XIERUKUOZHANDEDUIZHANKUANGJIAZHONG(HOULAIFAXIAN,ZAIYIZHIXPDESHIHOU,JIANGZHEIGEZHIXIERUYIGEYUXIANSHANGDINGDEGONGXIANGCUNCHUWEIZHISHANGYAOBIXIUGAIDUIZHANKUANGJIAJIANDANYIXIE)。DANGXITONGZAIring0YIWAIZHIXINGSHIYOUYICHANGFASHENG,XenDEJUBINGJIUHUIZAIguestOSDUIZHANZHONGCHUANGJIANYIGEYICHANGDUIZHANKUANGJIADEKAOBEI,BINGQIEHUIJIANGKONGZHIJIAOJIXIANGYINGDEYIJINGJILUGUODEYICHANGJUBING。

DIANXINGDE,ZHIYOULIANGLEIYICHANGHUIJINGCHANGFASHENGERYINGXIANGDAOXITONGDEXINGNENG:XITONGDIAOYONG(YIBANDOUSHITONGGUORUANJIANYICHANGSHIXIAN)HEYEMIANCUOWU。WOMENRANGMEIGEguestOSDOUJILUYIGE“KUAISUDE”YICHANGCAOZUOJUBINGLAIGAIJINXITONGDIAOYONGDEXINGNENG。ZHEIGEYICHANGCAOZUOJUBINGKEYIZHIJIEYOUCHULIQISHIYONG,ERBUBIFEIYAOJIANJIEDIJINGGUOring0;ZHEIGEJUBINGZAIFANGZHIJINYINGJIANYICHANGLIEBIAOZHONGZHIQIANJIUSHIJINGGUOQUERENDE(//SUOYIBUBIJINGGUOXen)。BUXINGDESHI,WOMENBUKENENGSHIYONGTONGYANGDEJISHULAICHULIYEMIANCUOWUJUBING,YINWEIZHIYOUNEIXIEYUNXINGZAIring0DEDAIMACAINENGGOUCONGJICUNQICR2ZHONGDUCHUCUOWUDEDIZHI;YINCI,YEMIANCUOWUBIXUYAOJINGGUOXenCAINENGTIJIAO,XenBAOCUNGAIJICUNQIDEZHIGONGLAIZIring1DEFANGWENSHIYONG。

DANGXenFAXIANYICHANGCHANSHENGSHI,TAHUIDUIYICHANGJUBINGJINXINGQUERENYIQUEBAOANQUANXING。ZHEIZHIXUYAOJIANCHAJUBINGDEDAIMADUANZHONGSHIFOUHANYOUZHIMINGYAOZAIring0ZHONGZHIXINGDECAOZUO。JIRANMEIYOUguestOSNENGGOUCHUANGJIANZHEIYANGYIGEDUAN,NEIMEZHIXUYAOJIANGZHUANMENDEDUANXUANZEFUHESHAOLIANGDEBAOLIUZAIXenZHONGDEJINGTAIZHIZUOBIJIAOJIKE。CHULEZHEIDIANYIWAI,RENHEQITADEJUBINGWENTIDOUHUIZAIYICHANGCHUANBO(exceptionpropagation)(//YIGEYICHANGDAOZHILELINGYIGEYICHANGDECHANSHENG)DEGUOCHENGZHONGBEIXIUZHENG。LIRU,RUGUOJUBINGQUESHAOXIANGYINGDAIMADUANHUOZHEJUBINGMEIYOUFENPEIDAONEICUNYE,NEIMEZAIXenWEIJIANGKONGZHIFANHUIJIJUBINGERZHIXINGiretZHILINGDESHIHOUJIUHUIYOUYIGEXIANGYINGDECUOWUCHANSHENG。XenTONGGUOJIANCHACHUCUODECHENGXUJISHUQIZHILAIJIANCEZHEIXIE“SHUANGCUOWU(//doublefaults:ZHIQIANYIJINGCHUCUOLE,XIANZAIDAOLEiretYIJINGSHIDIERGECUOWULE;DIERGECUOWUSHIYOUDIYIGECUOWUCHUANBOERLAI)”:RUGUODIZHISHICHUYUYICHANGXUNIHUADEDAIMAZHONG(//SHUOMINGYICHANGCHULIMEIYOUWANCHENG,iretMEICHENGGONG),NEIMEguestOSJIUYAOBEIZHONGZHI。

DUIYUZHIJIEDEXITONGDIAOYONGJUBINGLAISHUO,ZHEIZHONG“LANDUO(//DIYIGECUOWUFASHENGDESHIHOU,MEIYOUBEIJIANCHADAO;ZHIDAOXenZHIXINGLEiretZHIHOUCAIBAOCUO)”DEJIANCHAYESHIANQUANDE:DANGCPUSHITUZHIJIETIAOZHIguestOSJUBINGDESHIHOU,HUIFASHENGFANGWENCUOWU(//ZHIQIANDEGUOCHENGDOUYIYANG,ZHISHIZHIJIEDEXITONGDIAOYONGSHIBUJINGGUOXenDE)。ZAIZHEIZHONGQINGKUANGXIA,CHANSHENGCUOWUDEDIZHIJIANGCHUYUXenZHIWAI(YINWEIXenBUHUIQUZHIXINGguestOSXITONGDIAOYONG),YINCICUOWUJIUYISHANGWENJIANGGUODEYIBANFANGSHIJINXINGXUNIHUAJIKE。RUGUOYOUYUCUOWUDECHUANBODAOZHILEJINYIBUDE“SHUANGCUOWU”,NEIMEguestOSHUIXIANGSHANGWENTANJIDEYIYANGBEIZHONGZHI。

2.1.3SHEBEII/O

ZAIWANQUANXUNIHUAHUANJINGXIAXUYAOFANGZHENXIANYOUDEYINGJIANSHEBEI,ERXenBUTONGYUCI。XenJICHULEYITAOQINGCHU、JIANDANDESHEBEICHOUXIANG。ZHEIJIUSHIDEWOMENNENGGOUSHEJIYIGEJIEKOUYIYOUXIAODIMANZUWOMENDUIBAOHUXINGHEGELIXINGDEXUQIU。WEILEZUODAOZHEIYIDIAN,I/OHEGEGEdomainZHIJIANDESHUJUCHUANDIDOUSHIYAOJINGGUOXenDE,KEYISHIYONGDEFANGFAYOUGONGXIANGNEICUN,YIBUHUANCHONGQUMIAOSHUFUHUANDENG。ZHEIXIEFANGFANENGGOUZAIXenYOUXIAODIZHIXINGQUERENJIANCHA(LIRU,JIANCHAHUANCHONGQUSHIFOUBAOKUOZAILEdomainDECUNCHUKONGJIANNEI)DETONGSHI,WEIZAIXITONGZHONGDESHUZHIFANGXIANGSHANGCHUANDIHUANCHONGQUPAN⑻MAO┝SOUHUANYINSIYUENAINAIㄐOU?PI:TUOBU?XIEXIAHAIPICUIenZHICHIYIGEQINGLIANGJIDESHIJIANDIJIAOJIZHIYONGYUWEIYIGEdomainCHUANSONGYIBUTONGGAO(notification)。ZHEIXIETONGGAOSHIZAIDUIWEIJUESHIJIANLEIXINGDEWEITUJINXINGGENGXINDESHIHOUCHANSHENGDE,YEKEYITONGGUODIAOYONGYIGEguestOSZHUANYOUDESHIJIANJUBINGCHANSHENG。ZHEIXIEDIAOYONGDEFANHUIKEYIYOUguestOSLAIJUEDINGSHIFOUJINXING“TUOYAN”CHULI。LIRU,ZHEIMEZUO(//TUOYANCHULI)KEYIBIMIANZAIPINFANHUANXINGTONGGAOSHIDAILAIDEEWAIKAIXIAO。

2.2YIZHIOSDAOXenDEDAIJIA

DANGQIANWOMENDENetBSDYIZHIHAICHUYUFEICHANGCHUJIDEJIEDUAN,YINCIWOMENJIUMEIYOUJIANGQIJIEGUOZAIZHEILIBAOGAO。SUIRANXPDEYIZHIYAOGENGJINYIBU,DANYEHAICHUYUYIZHIGUOCHENGZHONG;DANGQIANYIZHIDEXPNENGGOUZHIXINGRAMSHANGDEYONGHUKONGJIANDEYINGYONG,DANSHIQUEFAXUNIDEI/OQUDONG。JIYUZHEIGEYUANYIN,BIAOZHONGJIUMEIYOUJICHUHEXPDEXUNISHEBEIQUDONGXIANGGUANDESHUJU。WULUNZENYANG,HELinuxYIYANG,WOMENKEYIXIANGJIANZHEIXIEQUDONGYINGGAISHIXIAODEHEJIANDANDE,YINWEIZHEIYAODEYIYUXenTIGONGDELIXIANGDEYINGJIANCHOUXIANG。

HENGLIANGDAIJIADEBIAOZHUNSHIYUYUANXIANDEx86DAIMAXIANGBIXIUGAIHUOZENGJIADENEIXIEBIYAODEZHUSHIYIJIZUNCONGYIDINGGESHIDEDAIMADEXINGSHU(BUBAOKUOSHEBEIQUDONG)。DUIWindowsXPZHONGTIXIJIEGOUWUGUAN(architectureindependent)DEDAIMASUOZUODEGAIDONGDADAOLEYIGEJINGRENDESHUZI,ZHEISHIYINWEIWindowsXPSHIYONGLEDUOZHONGDUOYANGDEJIEGOUHELIANHELAIFANGWENYEBIAOXIANG(PTE)。MEICIDUIYEBIAODEFANGWENDOUBUDEBUBEIDANDUDIJINXINGXIUGAI(//YINWEIMEICIFANGWENDOUKENENGYONGDAOBUTONGDEJIEGOU),DANGRANZHEIGEGUOCHENGSHIKEYICAIYONGYIXIEJIAOBENLAIZIDONGWANCHENGDE。YUCIXIANGFANDE,LinuxXUYAODEGAIDONGJIUSHAOLEHENDUO,ZHEISHIYINWEILinuxDECUNCHUXITONGSHISHIYONGYUCHULICHENGXUZHONGDEHONGLAIFANGWENPTEDE—ZHEIXIEHONGDINGYIWEIZENGJIAZHUNXUNIHUASUOXUDEZHUANHUANHEhypervisorDIAOYONGTIGONGLEBIANLIDEWEIZHI(//JIUZAIZHEIXIEWEIZHISHANGJIAJIKE)。

ZAIZHEILIANGGECAOZUOXITONGZHONG,TIXIJIEGOUTEYOU(architecturespecific)DEBUFENYONGYUJIANGx86DAIMAXIANGWOMENDEZHUNXUNIJIAGOUDEYIZHI。ZHEIBAOKUOZHONGXIENEIXIESHIYONGLETEQUANZHILINGDECHENGXU,SHANCHUDALIANGDEDICENGDEXITONGCHUSHIHUADAIMA。LINGWAI,WindowXPXUYAOYOUGENGDUODEGAIBIAN,ZHEIZHUYAOSHIYINWEIZHIQIANYILIUXIALAIDE16WEIFANGZHENDAIMADECUNZAIYIJIXUYAOYIGELVEYOUBUTONGYINDAOJIAZAI(boot-loading)JIZHI。ZHUYI,XPZHONGDEx86TEYOUDEDAIMAYAOBILinuxDUOHENDUO,YINCIKEYIYUJIANDAOZAIZUOYIZHIDESHIHOUYEJIUXUYAOZUOGENGDUODEGONGZUO。

2.3KONGZHIHEGUANLI

GUANCHUANYUZHENGGEXenDESHEJIYUSHIXIANGUOCHENGZHONG,YOUYIGEMUBIAOJIUSHIJINKENENGDIJIANGCELVECONGJIZHIDANGZHONGBOLICHULAI。SUIRANhypervisorBIXUYAOBEIBAOHANZAISHUJUTONGLU(data-pathaspects)SHANG。LIRU,ZAIdomainZHIJIANDIAODUCPU,ZAIFASONGZHIQIANGUOLVWANGLUOSHUJUBAO,HUOZHEZAIDUSHUJUKUAIDESHIHOUJINXINGZHIXINGFANGWENKONGZHI(//BIRANDE,YINWEIXenWEIYUguestOSHEDICENGYINGJIANZHIJIAN,guestOSYOUSHIBICIGELIDE,SUOYISHUJUCHUANDISHIYIDINGDOUYAOJINGYOUXenDE)。DANSHIZAIGENGGAOCENGCIDEWENTISHANG,LIRUCPURUHEBEIGONGXIANGHUOZHEGEGEdomainNENGGOUFASONGNAZHONGSHUJUBAO,ZHEISHIJIUBUXUYAOJIANGXenBAOKUOZAINEILE,SHENZHIDOUBUYONGKAOLVTA(//hypervisorSHISHIXIANJIZHI,ERRUHEGONGXIANGCPUHERUHEJINXINGRENWUFENGONGDOUSHICELVEWENTI)。

#p#分页标题#e#

ZUIZHONGDEDAODEJIAGOUSHIhypervisorZHISHITIGONGNEIXIEZUIJIBENDEKONGZHICAOZUO。ZHEIXIECAOZUOJINGYOUYIGEKEFANGWENDEJIEKOUCONGJINGGUOSHOUQUANDEdomainCHUANLAI;ERNEIXIEFUZADECELVEJUECE,BIRUXUKEKONGZHI(//BUZHIDAOZHEIGEXUKEKONGZHISHIFOUHEDI1BUFENLITIDAODESHIYIHUISHIER),DOUZUIHAOYOUYUNXINGZAIguestOSSHANGDEGUANLIRUANJIANZHIXING,ERBINGFEIZAIYOUTEQUANDEhypervisorDAIMAZHONG(//XenZHISHITIGONGJIZHI,BUFUZECELVE)。

ZHENGGEXITONGJIAGOUZHONGYOUYIGEdomainSHIZAIYINDAO(boot)SHICHUANGJIANDE。ZHEIGEdomainBEIYUNXUSHIYONGKONGZHIJIEKOU。ZHEIGECHUSHIDEdomain,SHUYUCHENGWEIDomain0,TAFUZECAOKONGYINGYONGJIDEGUANLIRUANJIAN。KONGZHIJIEKOUJUYOUCHUANGJIANHEZHONGZHIQITAdomainDENENGLI,HAINENGKONGZHITAMENXIANGGUANDEDIAODUCANSHU、WULICUNCHUFENPEIYIJITAMENDUIJIDINGDEWULICIPANHEWANGLUOSHEBEIDEFANGWEN。

CHULECHULIQIHECUNCHUZIYUAN,KONGZHIJIEKOUHAIZHICHIXUNIWANGLUOJIEKOU(VIF)HEKUAISHEBEI(VBD:XUNIKUAISHEBEI)DECHUANGJIANHESHANCHU。ZHEIXIEXUNII/OSHEBEIJUYOUYIXIEHEFANGWENKONGZHIXIANGGUANDEXINXI。ZHEIXIEXINXIJUEDINGLENAGEdomainNENGGOUFANGWENTAMEN,YIJIFANGWENSHIYOUNAXIEYUESHU(LIRU,YIGEZHIDUDEVBDKEYIBEICHUANGJIAN,YIGEVIFKEYIGUOLVIPBAOYIFANGZHIYUANDIZHIQIPIAN)。

ZHEIGEKONGZHIJIEKOU,JIEHEDUIXITONGDANGQIANZHUANGTAIJINXINGDEPOUXITONGJI?HUANMAO?WANHUAIHUANGSUBAOJIEHUANGZISONGXINGXIANomain0SHANGDEYINGYONGJIGUANLIRUANJIANSHANG。GAIGUANLIRUANJIANZUOWEIGUANLIGONGJUDEBUCHONG,NENGGOUDUIZHENGGEFUWUQIJINXINGFANGBIANDIGUANLI:LIRU,NENGGOUCHUANGJIANHEPOHUAIdomain,SHEDINGWANGLUOGUOLVQIHELUYOUGUIZE,ZAISHUJUBAOHESHUJULIULIANGGELIDUSHANGJIANSHIMEIGEdomainDEWANGLUOHUODONG,CHUANGJIANHESHANCHUXUNIWANGLUOJIEKOUHEXUNIKUAISHEBEI。WOMENQIDAIKAIFACHUGAOJIDEGONGJULAIJINYIBUJIANGGUANLICELVEDEYINGYONGCHENGXUZIDONGHUA(//ZHEILIDEGUANLICELVEHEQIANMIANJIANGDE“JIZHIYUCELVEFENKAI”ZHONGDECELVEBUSHIYIHUISHIERBA?)。

ccid_page/>

3.DETAILEDDESIGN—XIJIESHEJI

ZAIZHEIYIBUFEN,WOMENJIESHAOGOUCHENGJIYUXenDEFUWUQIDEGEGEZHUYAOZIBUFENDESHEJIXIJIE。ZAIGEGESHEJIZHONG,WOMENDUIXenHEguestOSDEGONGNENGZUOLEQINGCHUDESHUOMING。DANGQIANDE配资公司 guestOSDETAOLUNZHUYAOJIZHONGYUXenoLinux,ZHEIZHUYAOSHIYINWEIZHEIGEguestOSSHIMUQIANFAZHANZUICHENGSHUDE;DANSHIWOMENDUIYUDANGQIANZHENGZAIJINXINGZHONGDEDUIWindowsXPHENetBSDDEYIZHIGONGZUOYESHIHENYOUXINXINDE。WOMENXIANGXINXenKEYIZHICHIDUOZHONGDUOYANGDEguestOS.

3.1控制传递:hypercalls和事件

YOULIANGZHONGJIZHIYONGYUXenHEQISHANGDEdomainZHIJIANJINXINGKONGZHIDEJIAOHU:SHIYONGhypercallCHANSHENGCONGdomainDAOXenDETONGBUDIAOYONG;SHIYONGYIBUSHIJIANJIZHIWANCHENGCONGXenDAOdomainDETONGGAODIJIAO。

hypercallJIEKOUYUNXUdomainTONGGUOZHIXINGYIGETONGBURUANXIANJINGXIANRUDAOhypervisorZHIXINGYIGETEQUANCAOZUO,ZHEILEISIYUZAICHUANTONGDECAOZUOXITONGZHONGDUIXITONGDIAOYONGDESHIYONG。JUYIGESHIYONGhypercallDELIZI:YIZUYEBIAOGENGXINDEQINGQIU,YAOJINGGUOXenQUERENBINGQIEWANCHENGXIANGYINGDEGENGXINCAOZUO(//GENGXINSHIYAOYOUXenQUERENBINGWANCHENGDE,XUYAOTEQUANCAOZUO,SUOYIZHEISHIYAOLIYONGhypercallXIANRUDAOhypervisorZHONG),ZAIGENGXINWANCHENGHOUZAIYOUXenJIANGKONGZHIFANHUIJICHANSHENGBENCIDIAOYONGDEdomain.

CONGXenDAOdomainDETONGXINSHIYOUYIGEYIBUSHIJIANJIZHITIGONGDE。ZHEIGEJIZHIQUDAILECHANGYONGDELIYONGSHEBEIZHONGDUANDEDIJIAOJIZHI,TAYUNXUNEIXIEZHONGYAOSHIJIAN(RUdomain-terminationrequest)CAIYONGQINGLIANGJIDETONGGAOXINGSHI。HECHUANTONGDEUnixXINHAOLEISI,ZHEIXIEZHONGYAOSHIJIANDEGESHUBIJIAOSHAO,DANMEIYIGEDOUYONGZUOZHENDUIMOUYITEDINGLEIXINGSHIJIANDEBIAOJI。LIRU,YONGYUZAIWANGLUOSHANGZHICHUXINDESHUJUYIJINGBEIJIESHOUDAODESHIJIAN,HUOZHEBIAOSHIYIGEXUNICIPANQINGQIUYIJINGWANCHENGDESHIJIAN。

NEIXIEWEIJUEDESHIJIANCUNFANGZAIMEIGEdomainDEbitmask(//YIGEZHUANMENDESHUJUJIEGOU)ZHONG。bitmaskDEGENGXINYAOYOUXenZAIDIAOYONGYIGEHEguestOSXIANGYINGDESHIJIANDIAOYONGFANHUIJUBINGZHIQIANWANCHENG(//XenZHENDUIMOULEISHIJIANYAOXIANGSHANGFATONGGAO,RUGUOXenDIAOYONGLEguestOSXIANGYINGDESHIJIANDIAOYONGFANHUIJUBING,JIUSHUOMINGGAISHIJIANWANCHENGLE,XIAMIANYAOBAKONGZHIJIAOHUIJIdomain,SUOYIBIRANYAOZAIDIAOYONGSHIJIANDIAOYONGFANHUIJUBINGZHIQIANYOUXenJIANGbitmaskGENGXIN)。DIAOYONGFANHUIJUBINGFUZEZHONGXINSHEZHIWEIJUESHIJIANJIHE(//DIAOYONGFANHUIJUBINGRENGJIUSHIYOUXenCAOZUO,GENGXINbitmask),TONGSHIYIXIANGYINGDEXINGWEIHETONGGAOXIANGHUYING。YIGEdomainKEYITONGGUOSHEZHIYIGEXenKEDUDERUANJIANBIAOJILAIXIANSHIDITUICHIDUISHIJIANCAOZUO:ZHEIYIDIANSHIYUZAIZHENSHIDECHULIQIZHONGJINZHIZHONGDUANDEGUOCHENGLEISIDE。

3.2SHUJUCHUANDI:I/OHUAN

hypervisorDECUNZAIYIWEIZHEZAIguestOSHEI/OSHEBEIZHIJIANYOUYIGEEWAIDEBAOHUYU,SUOYISHUJUDECHUANDIJIZHIJIUBIANDEZHIGUANZHONGYAO。SHUJUCHUANDIJIZHISHIDESHUJUNENGGOUZAIXITONGZHONGYANZHESHUZHIFANGXIANGYIDONG,TONGSHIJUYOUJINLIANGXIAODEKAIXIAO。

YOULIANGGEZHUYAOFANGMIANGOUCHENGLEWOMENDUII/OCHUANDIJIZHIDESHEJI:ZIYUANGUANLIHESHIJIANTONGGAO。WEILEZUODAOresourceaccountability,WOMENZAIJIESHOUDAOYIGELAIZISHEBEIDEZHONGDUANHOU,YAOJINLIANGJIANSHAOZAIJIANGDUOLUSHUJUFENJIE(//demultiplexdata:FENJIEDUOLUSHUJU,SHUJUZIYINGJIANSHEBEICHUANLAI,XUYAOCHUANDIJIGEGEZHIDINGDEdomainZHONGDEguestOSZHONGZHIXING,ZHEILIJIUCUNZAIYIGEDUOLUXUANZEDEWENTILAIQUEDINGJIUJINGBASHUJUCHUANJINAGEdomain;YIDANQUEDINGLESHUJUSHICHUANJINAGEdomainDE,YEJIUSHUOMINGLECISHISHINAGEdomainZAISHIYONGXIANGGUANSHEBEI,ZUODAOLEresourceaccountability)DAOYIGETEDINGDEdomainZHONGSUOZUODEGONGZUO—

GUANLIHUANCHONGQUDAILAIDEKAIXIAOSHIZAIJISUANRENWUFENPEIJIXIANGYINGDEdomainHOUCHANSHENGDE(//RENWUFENJIdomainHOU,domainCAIKAISHIDUIRENWUSHUJUSUOCHUDENEIBUFENHUANCHONGQUJINXINGGUANLI,ERBINGFEIYONGQITADEJIZHIDUIZHENGGEHUANCHONGQUTONGYIGUANLI,NEIYANGHUIZENGJIAFUZAXING,ERQIEQUEFABAOZHANG)。LEISIDE,SHEBEII/ODEFANGCUNCAOZUOYESHIYOUXIANGYINGDEdomainTIGONGDE,ZHEIMEZUOKEYIFANGZHIYOUYUGONGXIANGHUANCHONGCHIDAOZHIDEXIANGHUJIANDEGANRAO(//RUGUOI/ONENGGOUZHIJIEFANGCUNERBUJINGGUOdomainGUANLIDEHUA,JIUHUICHANSHENGHUNLUAN,BIRUBUQINGCHUI/OCAOZUOCUNQUDAODESHUJUSHISHUYUNAGEdomainDE);I/OHUANCHONGZAISHUJUCHUANDIGUOCHENGZHONGTONGGUOXenNEIBUBANGDING(pin)DAODICENGYEKUANGSHANGMIANDEFANGFALAIHUODEBAOHU。

I/OMIAOSHUFUHUANSHIYIGEXUNHUANDUILIE,TAYOUdomainFENPAIDEMIAOSHUFUZUCHENG,KEYICONGXenNEIBUFANGWENDAO。MIAOSHUFUZHONGBINGBUZHIJIEBAOHANYOUI/OSHUJU;QUERDAIZHIDESHI,I/OSHUJUHUANCHONGBEIguestOSZAIDAIKUANWAIFENPEIZAIJIANJIEDIYOUI/OMIAOSHUFUYINYONG(//I/OMIAOSHUFUHUANDERONGLIANGSHIYOUXIANDE,SUOYII/OSHUJUYAOXIANJINXINGFENPEI,ZAIZUOXIANGI/OMIAOSHUFUHUANSHANGDEYINGSHE;SUOWEIout-of-band:DAIKUANWAI,JIUSHIZAIFENPEISHUJUSHIKEYICHAOCHUI/OMIAOSHUFUHUANDEXIANZHI)。MEICIHUANFANGWENDOUYAOJIYULIANGDUISHENGCHANZHE-XIAOFEIZHEZHIZHEN:domainTONGGUOTUIJINQINGQIUSHENGCHANZHEZHIZHENJIANGYIGEQINGQIUFANGZHIZAIHUANSHANG;XenCHULIZHEIXIEQINGQIU,TUIJINYIGEXIANGGUANDEQINGQIUXIAOFEIZHEZHIZHEN。XIANGYINGBEIFANGHUIZAIHUANSHANGYESHILEISIDE,ZHISHIYOUXenZUOWEISHENGCHANZHE,guestOSZUOWEIXIAOFEIZHE。ZHEILISHIBUYAOQIUQINGQIUSHIBEIANSHUNXUBEICHULIDE:guestOSJIMEIGEQINGQIUDOUJIANLILEYIGEWEIYIDEXIANGGUANBIAOSHIFU,ZHEIGEBIAOSHIFUHUIZAIXIANGGUANDEXIANGYINGSHANGBEIFUZHI(//MIAOSHUFUHUANZHISHIXIANDINGLENENGGOUCHULIQINGQIUDEGUIMO,BINGBUGUIDINGCHULISHUNXU,SHEIXIANBEICHULISHEIHOUBEICHULISHIZAIJIANGSHUJUYINGSHEDAOMIAOSHUFUHUANSHANGDESHIHOUJUEDINGDE)。ZHEIJIUYUNXUXenCHUYUDIAODUHEYOUXIANJIDEKAOLV,ZHONGXINPAIDINGI/OCAOZUODESHUNXU。

ZHEIGEJIEGOUSHITONGYONGDE,ZUYIZHICHIHENDUOBUTONGDESHEBEIFANLI。LIRU,RUGUOYIZU“QINGQIU”YAOWEIWANGLUOSHUJUBAODEJIESHOUTIGONGHUANCHONG,NEIMEXIANGYINGDEHOUXU“XIANGYING”JIUSHISHUJUBAOYIJINGDAODAHUANCHONGQUDEXINHAO。ZHONGXINPAIXUZAICHULICIPANQINGQIUSHISHIHENYOUYONGDE(//BIRULIANGGEdomainQINGQIUDOUYAODUTONGYIKUAISHUJU,NEIMEJIUKEYIBAZHEILIANGGEQINGQIUDECHULIFANGDAOYIQIWANCHENG,TIGAOXIAOLV),TAYUNXUTAMENZAIXenNEIBUBEIDIAODUYITIGAOXIAOLV;SHIYONGDAIKUANWAIHUANCHONGDEMIAOSHUFUSHIDENENGGOURONGYIDISHIXIANLINGFUZHICHUANSHU(//JIANSHAOLESHUJUKAOBEI,RUGUOBUYONGMIAOSHUFUDEHUA,NEIMEJIUWUBIYAOJIANGHUANCHONGQUDESHUJUNEIRONGZAII/OHUANZHONGJINXINGFUZHI,ERXIANZAIZUODEZHISHIYINGSHECAOZUO,JILINGFUZHI)。

WOMENJIANGQINGQIUHEXIANGYINGDECHANSHENGHEQITADETONGGAOFENKAI:ZAIQINGQIUDEQINGKUANGXIA,YIGEdomainKEYIZAIDIAOYONGYIGEhypercallXIANRUXenZHIQIANJIANGDUOGEXIANGPAIRUDUILIE;ZAIXIANGYINGDEQINGKUANGXIA,YIGEdomainNENGGOUTONGGUOHUADINGYIGEXIANGYINGDEFAZHILAITUICHITONGGAOSHIJIANDEDIJIAO。ZHEISHIDEMEIGEdomainNENGGOUQUANHENGYANCHIHETUNTULIANGDEXUQIU,LEISIZAIArseNICJIBITEYITAIWANGJIEKOUDEflow-aware(//LIUYOUHUA?)DEZHONGDUANFENPAI[34].

3.3ZIXITONGXUNIHUA

QIANWENMIAOSHUDEKONGZHIHESHUJUCHUANDIJIZHIBEISHIYONGZAIWOMENDUIGEGEZIXITONGDEXUNIHUASHIXIANZHONG。ZAIXIAMIAN,WOMENTAOLUNRUHEHUODEDUICPU,DINGSHIQI,NEICUN,WANGLUOHECIPANDEXUNIHUA。

3.3.1CPUDIAODU

XenDANGQIANDUIdomainDEDIAODUCAIYONGDESHIBorrowedVirtualTime(BVT)DIAODUSUANFA[11].WOMENZHISUOYIXUANZEZHEIGETEBIEDESUANFASHIYINWEITASHIGONGZUOBAOYANGXINGDE,TONGSHIHAIJUYOUTESHUDEJIZHISHIDETANENGGOUZAIJIESHOUDAOYIGESHIJIANSHIKEYIDIYANCHIDIHUANXING(HUOZHESHUOFENPAI)YIGEdomain.KUAISUDEFENPAI(//dispatch,JIUSHILEISIQIANMIANSHUODEdemultiplexdata)DUIYUJIANSHAOXUNIHUADUINEIXIEDUISHIJIANMINGANDECAOZUOXITONGZIXITONGZAOCHENGDEYINGXIANGSHIYOUQIZHONGYAODE(//FENPAIYUEKUAISU,SHIJIANJIUYUENENGJISHIDAODACAOZUOXITONG);LIRU,TCPYAOYILAIYUQUERENXINXIDEJISHIDIJIAOYIZHENGQUEDIGUCEZAIWANGLUOSHANGWANGFANSUOYONGDESHIJIAN(//RUGUOQUERENXINXIMEIYOUJISHIDAODA,NEIMESHIJIANGUCEJIUYOUWENTILE)。BVTprovideslow-latencydispatchbyusingvirtual-timewarping,amechanismwhichtemporarilyviolates`ideal'fairsharingtofavorrecently-wokendomains(//BUHENMINGBAIBVTSUANFADESHIXIAN)。DANGRAN,QITADIAODUSUANFAYENENGGOUZAIWOMENDETONGYONGDIAODUQICHOUXIANGSHANGSHIXIAN。MEIGEdomainDEDIAODUCANSHUKEYIYOUYUNXINGZAIDomain0DEGUANLIRUANJIANJINXINGDIAOZHENG。

#p#分页标题#e#

3.3.2SHIJIANHEDINGSHIQI

XenWEIMEIGEguestOSTIGONGLEZHENSHISHIJIAN,XUNISHIJIANHEGUAZHONGSHIJIAN(wall-clocktime)DENGSANGEGAINIAN。ZHENSHISHIJIANSHIYINAMIAOWEIDANWEIJICHUDE,SHICONGJIQIYINDAOQILAIKAISHIJISUANDESHIJIAN,TAJILUDESHIJINGQUEDECHULIQIZHIXINGDESHIZHONGZHOUQISHU,SHIZHONGZHOUQINENGGOUBEIWAIBUSHIZHONGYUANSUOPIN(LIRU,TONGGUONTPSHIJIANFUWU)。domainDEXUNISHIJIANZHISHIZAITAYUNXINGDESHIHOUCAIHUIBEIJIRU:ZHEIZHUYAOGONGguestOSDEDIAODUQISHIYONGLAIQUEBAOguestOSSHANGDEYINGYONGJINCHENGNENGGOUZHENGQUEDIGONGXIANGSHIJIANPIAN。ZUIHOU,GUAZHONGSHIJIANSHIYIGEPIANYI,YONGYUJIADAODANGQIANDEZHENSHISHIJIANSHANG。GUAZHONGSHIJIANNENGGOUBEIDIAOZHENG(//BIRUZAIGEGEguestOSZHONGDESHIJIANKEYIBUTONG,YOUDESHISHANGWUJIUDIAN,YOUDESHIXIAWUSANDIAN,GAIDEJIUSHIZHEIGEZHI),TONGSHIBUHUIYINGXIANGZHENSHISHIJIANDELIUSHI。

MEIYIGEguestOSNENGGOUDUIYIDUIJINGZHONGDINGSHIQIJINXINGBIANCHENG,YIGEYONGYUZHENSHISHIJIAN,LINGYIGEYONGYUXUNISHIJIAN。guestOSNENGGOUWEIHUNEIBUDEDINGSHIQIDUILIE(//HENDUOYINGYONGCHENGXUDOUYOUDINGSHIXUQIU,ZHENSHIDEHUOZHEXUNIDE,TEBIESHIWANGLUOYINGYONG;guestOSYAODUIZHEIXIEDINGSHIXUQIUPAIDUIYIQUEDINGSHEIDESHIJIANYAOQIUZUIJINPO,RANHOUJIUJINLIANGYICIMANZUTAMEN;ZHIYAOYOUYIGEDINGSHIXUQIUMEIBEIMANZU,JICHAOSHILE,NEIMEXITONGJIUCHANSHENGYICHANG)BINGSHIYONGXenTIGONGDEJINGZHONGDINGSHIQILAICHUFAZUIZAODECHAOSHI。CHAOSHISHIJIANJIANGHUISHIYONGXenSHIJIANJIZHILAIDIJIAO。

3.3.3XUNIDIZHIZHUANHUAN

HEQITAZIXITONGYIYANG,XenYENULIYIJINKENENGXIAODEKAIXIAOSHIXIANCUNCHUFANGWENDEXUNIHUA。ZHENGRU2.1.1ZHONGTAOLUNDE,YOUYUx86JIAGOUSHIYONGDESHIYINGJIANYEBIAO,YINCIDADAOZHEIGEMUBIAOYOUXIENANDU。VMwareZHONGSHIYONGDEFANGFASHIWEIMEIGEguestOSTIGONGXUNIDEYEBIAO,ZHEIGEYEBIAODUIYUCUNCHUGUANLIDANYUAN(MMU)SHIBUKEJIANDE[10].RANHOUYOUhypervisorFUZEXIANRUDUIXUNIYEBIAODEFANGWEN,QUERENGENGXIN,ZAIJIANGZHEIXIEGAIBIANCHUANBODAOXUNIYEBIAOHEMMUKEJIANDE“YINGZI”YEBIAO(//“YINGZI”YEBIAOZAIDI2BUFENTIDAOGUO)。ZHEIDADAZENGJIALEZHEIGEguest

OSCAOZUODEDAIJIA,BIRUCHUANGJIANYIGEXINDEXUNIDIZHIKONGJIAN,XUYAODUI“FANGWENGUODE”HE“ZANGDE”BITEWEISHANGDEYINGJIANGENGXINJINXINGXIANSHIDICHUANBO。

ZHISUOYIWANQUANXUNIHUAYAOQIANGPOSHIYONGYINGZIYEBIAO,SHIYINWEITAYAOJICHULIANXUDEWULINEICUNDEJIAXIANG,ERXenJIUBUJUNIYUCI。SHIJISHANG,XenZHIXUYAOKAOLVDUIYEBIAODEGENGXIN,LAIFANGZHIguestOSDAOZHIBUKEJIESHOUDEGAIBIAN。YINCIWOMENBIMIANLEHESHIYONGYINGZIYEBIAOXIANGGUANDEKAIXIAOHEEWAIDEFUZADU—XenZHONGDEFANGFASHIZHIJIEDIYOUMMUJILUguestOSDEYEBIAO,BINGQIEXIANZHIZHUguestOSZHINENGZUODUFANGWEN。YEBIAOGENGXINTONGGUOhypercallCHUANDIJIXen;GENGXINQINGQIUZAIBEICAINAYIQIANJINGGUOQUEREN,ZHEIMEZUOJIUQUEBAOLEANQUANXING。

WEILEYOUZHUYUQUEREN,WOMENJIJIQIDEMEIGEYEKUANGDOUJIANLILEYIGEXIANGGUANDELEIXINGHEYINYONGSHU。YIGEYEKUANGZAIRENHESHIHOUDOUHUIPAITADIJUYOUXIASHUDEMOUYIGELEIXING:YEMULU(PD),YEBIAO(PT),JUBUMIAOSHUFUBIAO(LDT),QUANJUMIAOSHUFUBIAO(GDT)。TONGSHI,ZHEIGEYEKUANGHAIKENENGSHIKEXIE(RW)DELEIXING。YIGEguestOSKEYIWEITAZIJISUOSHUDEYEKUANGCHUANGJIANKEDUDEYINGSHE,ERBUBILIHUIYEKUANGDEDANGQIANLEIXING。YIGEYEKUANGZHIYOUZAITADEYINYONGSHUWEI0DESHIHOU,CAINENGBEIANQUANDIZHONGXINFENPEIJIQITARENWUSHIYONG。ZHEIGEJIZHIBEIYONGYUMANZUXITONGDUIANQUANXINGYIGUANDEXUQIU;LIRU,YIGEdomainBUNENGGOURENYIDIDUIYEBIAODEMOUGEBUFENJIANLIKEXIEDEYINGSHE,RUGUOYAOZHEIMEZUODEHUAJIUBIXUYAOQIUYEKUANGTONGSHIJUYOUPTHERWLEIXING(//SHENMEQINGKUANGXIASHIKEDUDEYINGSHE?SHENMEQINGKUANGXIAYOUSHIKEXIEDEYINGSHENI?)。

LEIXINGXITONGHAIYAOBEIYONGYUGENZONGNEIXIEYONGYUYEBIAODEYEKUANGZHONGNAXIESHIYIJINGBEIQUERENGUODE(//YEKUANGYONGYUYEBIAO,JIYENEIRONGTIANRUYEKUANG)。ZHEISHI,guestOSYAOZHICHUYEKUANGSHIFOUBEIFENPEIYONGZUOYEBIAO—ZHEIJIUXUYAOZAIYEKUANGDELEIXINGBEIDINGWEIPDHUOZHEPTHOU(//SHUOMINGYEKUANGSHIYONGYUYEBIAODE),YOUXenDUIYEKUANGZHONGDEMEIYIXIANGZUOYICIXINGDIQUEREN,ZHIZHIHOULAIYOUguestOSFACHUSHIFANG(unpin)DEQINGQIU(//YOUguestOSSHIFANGYEKUANG)。ZHEIZAIGAIBIANYEBIAOJIZHIZHENDESHIHOUSHIHENYOUYONGDE,YINWEITABUXUYAOZAIMEIYICISHANGXIAWENQIEHUANSHIDOUDUIXINYEBIAOJINXINGQUEREN(//YINWEIXIANZAIZHIQUERENYEKUANGLE)。ZHUYI,YIGEYEKUANGZAIBEISHIFANGBINGQIEYINYONGSHUWEI0ZHIQIANSHIBUNENGGOUBEIZHONGXINFENPEIJIQITARENWUDE,ZHEIYANGJIUBIMIANLEguestOSKENENGHUIRAOKAIYINYONGSHUJIZHIERZHIJIELIYONGSHIFANGQINGQIUDAOZHIDEWEIXIAN。

WEILEJIANSHAOSUOXUDEhypercallDIAOYONGDECISHU,guestOSNENGGOUZAILIYONGYIGEhypercallJINXINGZHENGPICHULIZHIQIANZAIJUBUJIANGGENGXINPAIRUYIGEDUILIE。TEBIESHIZAICHUANGJIANXINDEDIZHIKONGJIANDESHIHOU,ZHEIYIDIANSHIYOUQIYOUHAOCHUDE。DANSHIWULUNZENYANG,WOMENBIXUQUEBAOGENGXINBEITIJIAODEZUGOUZAOYIBAOZHENGZHUNQUEXING。XINGYUNDESHI,YIGEguestOSZAIDIYICISHIYONGYIGEXINDEYINGSHEQIANYAOZHIXINGYICITLBSHUAXIN:ZHEIQUEBAOLERENHEBEIHUANCUNDEGAIBIAN(//ZHEIXIEGAIBIANMUQIANJINCUNYUTLBZHONG,HAIMEIYOUBEIXIERUNEICUNYEBIAOXIANG)DOUSHIMEIYOUJINGGUOQUERENDE。YINCI,ZAITLBSHUAXINZHIQIANLIJITIJIAONEIXIEDAICHULIDEGENGXINJIUKEYIMANZUZHENGQUEXING(//GENGXINDESHIJIAN,JIEJUELESHENMESHIHOUJINXINGCHENGPIGENGXINCAOZUOYIBAOZHENGZHENGQUEXINGDEWENTI)。KESHI,YOUYIXIEguestOSHUIZAITLBZHONGMEIYOUCHENJIUBIAOXIANGCUNZAI(//MEIYOUCHENJIUBIAOXIANGYIWEIZHEGENGXINDOUYIJINGSONGDANEICUNZHONG?)DESHIHOUSHENGLVEDIAOZHEIGESHUAXINDEBUZHOU。ZAIZHEIZHONGQINGKUANGXIA,JIUYOUKENENGFASHENGDIYICISHITUSHIYONGXINDEYINGSHESHIHUIFASHENGQUEYECUOWU(//YINWEIMEIYOUSHUAXINTLB)。ZHEISHI,guestOSCUOWUJUBINGJIUBIXUYAOHECHASHIFOUXUYAOGENGXIN;RUGUOXUYAODEHUA,TLBJIUYAOBEISHUAXIN(//JIARUSUOQUEDENEIRONG),BINGQIEJIANGDAOZHIGANGCAIQUEYECUOWUDEZHILINGZHONGXINZHIXING。

3.3.4WULINEICUN

WEIGEGEdomainJINXINGDECHUSHIDENEICUNFENPEI,HUOZHESHUONEICUNBAOLIU,DOUSHIZAIdomainBEICHUANGJIANDESHIHOUJINXINGDE;YINCI,NEICUNZAIdomainZHIJIANSHIJINGTAIHUAFENDE,ZHEIJIUTIGONGLEQIANGDADEGELIXING。ZUIDAYUNXUDENEICUNBAOLIULIANGSHIBEIGUIDINGLEDE:RUGUOMOUGEdomainZHONGDENEICUNYALIZENGJIALE,NEIMETAJIUKEYICONGXenZHENGQUEWAIDENEICUNYE,ZHIDAODADAOGUIDINGBAOLIULIANGDESHANGXIAN。FANGUOLAI,RUGUOYIGEdomainXIWANGJIESHENGXIEZIYUAN,BIMIANBUBIYAODEKAIXIAO,TAYENENGGOUTONGGUOSHIFANGNEICUNYEJIXenLAIJIANSHAOTADENEICUNBAOLIULIANG。

XenoLinuxSHIXIANLEYIGEQIQIUQUDONG[42](//MEIKANXIANGGUANWENXIAN),TANENGGOUTONGGUOZAIXenHEXenoLinuxDEYEMIANFENPEIQIZHIJIANCHUANDINEICUNYELAIDIAOZHENGdomainDENEICUNSHIYONG。SUIRANWOMENNENGGOUZHIJIEXIUGAILinuxDENEICUNGUANLILICHENG,DANSHIQIQIUQUDONGNENGGOULIYONGXIANYOUDECAOZUOXITONGGONGNENGLAIJINXINGDIAOZHENG,YINCIJIANHUALELinuxDEYIZHIGONGZUO。WULUNZENYANG,ZHUNXUNIHUANENGGOUBEIYONGYUKUOZHANQIQIUQUDONGDENENGLI。LIRU,guestOSZHONGDENEICUNYUEJIECHULIJIZHINENGGOUBEIXIUGAIWEITONGGUOXIANGXenQINGQIUGENGDUODENEICUNYELAIZIDONGDIJIANQINGNEICUNYALI。

DABUFENCAOZUOXITONGDOUJIADINGNEICUNKONGJIANSHIYOUDALIANGDEJIAODAGUIMODELIANXUQUYUZUCHENGDE。YOUYUXenBINGBUBAOZHENGTAWEIguestOSFENPEIDENEICUNQUYUSHILIANXUDE,SUOYIguestOSXUYAOWEITAMENZIJICHUANGJIANLIANXUDEWULINEICUNDEJIAXIANG,JISHITAMENSHIJIZAIDICENGFENPEIDAODEYINGJIANNEICUNSHIXISHUDE。guestOSTONGGUOJIANDANDIWEIHUYIGEYISHIJIFENDEDEYEKUANGHAOWEISUOYINDESHUZU,LAIWANQUANFUZECONGSHIJIFENDEDEDIZHI(physical)DAOYINGJIANDIZHIDEYINGSHE。XenTIGONGLEYIGEGONGXIANGDEDIZHIZHUANHUANSHUZU,ZHEIGESHUZUYONGYUZHICHICONGYINGJIANDIZHIDAOGEGEdomainSHIJIFENDEDIZHIDEYINGSHE,TASHISUOYOUDEdomainDOUKEDUDE—GENGXINZHEIGESHUZUSHIJINGGUOXenQUERENDE,YIQUEBAOguestOSNENGGOUYONGYOUXIANGYINGDEYINGJIANYEKUANG。

JISHIYIGEguestOSZAIDADUOSHUQINGKUANGXIAXUANZELEHULVEYINGJIANDIZHI(//YINWEIguestOSXIHUANZAILIANXUDEDIZHIKONGJIANSHANGYUNXING),DANSHIZAITAFANGWENTASUOYONGYOUDEYEBIAODESHIHOU(ZHEISHIBIXUSHIYONGYINGJIANDIZHI)BIXUSHIYONGZHUANHUANBIAO。YINGJIANDIZHIYEKEYIBAOLUJICAOZUOXITONGCUNCHUGUANLIXITONGZHONGDEYOUXIANDEMOUXIEBUFENYIYOUHUACUNCHUFANGWEN(//JUTISHINAXIEBUFENKEYIZHIJIE“KANDAO”YINGJIANDIZHINI?)。LIRU,YIGEguestOSKEYIFENPEITEDINGDEYINGJIANYEYONGYUYOUHUAYISHIJIFENDEDIZHIWEISUOYINDEHUANCUNZHONGDEBUJU,HUOZHESHIYONGCHAOJIYEJIANGYINGJIANNEICUNZHONGDELIANXUBUFENZUOZIRANDUIQIDEYINGSHE。

3.3.5WANGLUO

XenTIGONGLEXUNIFANGHUOQIANG—LUYOUQI(VFR)DECHOUXIANG,MEIGEdomainDOUYOUYIGEHUODUOGEZAILUOJISHANGFUSHUYUVFRDEWANGLUOJIEKOU(VIF)。VIFKANSHANGQUYOUXIEXIANDAIDEWANGKA:JUYOULIANGGEI/OHUANCHONGQUMIAOSHUFUHUAN,YIGEYONGYUFASONGYIGEYONGYUJIESHOU。ZAIMEIGEFANGXIANG(//FASONGHUOZHEJIESHOU)SHANGDOUYOUYIXIEXIANGGUANDEGUIZEXINGSHI(<MOSHI>,<DONGZUO>)—RUGUOMOSHI(pattern)PIPEISHANGDEHUA,NEIMEXIANGGUANDEDONGZUO(action)JIUHUIBEIQIYONG。

Domain0FUZECHARUHESHANCHUGUIZE。LIRUZAIDIANXINGDEQINGKUANGXIA,KEYIZENGJIAGUIZEFANGZHIYUANIPDIZHIQIPIAN,HUOZHEZENGJIAGUIZEQUEBAOJIYUMUDEIPDIZHIHEDUANKOUDEZHENGQUEDESHUJUFENPAI(demultiplexing)。GUIZEYEKEYISHIHEVFRSHANGDEYINGJIANJIEKOUXIANGGUANDE。TEBIESHIWOMENZENGJIADENEIXIEYONGYUZHIXINGCHUANTONGDEFANGHUOQIANGGONGNENGDEGUIZE,BIRUFANGZHIZAIBUANQUANDEDUANKOUSHANGJIANLILIANJIEDEQITU。

#p#分页标题#e#

WEILEFASONGYIGESHUJUBAO,guestOSJIANDANDIJIANGHUANCHONGQUMIAOSHUFUPAIDUIJINFASONGHUANZHONG。XenFUZHIMIAOSHUFU,TONGSHIWEILEQUEBAOANQUANXING,HAIYAOFUZHISHUJUBAOTOUBINGZHIXINGPIPEIGUOLVGUIZE。SHUJUBAODEYOUXIAOZAIHEBUHUIBEIFUZHI,YINWEIWOMENSHIYONGDESHIFENSAN—JIZHONGSHI(scatter-gather)DEDMA;ZHEILIYAOZHUYIDESHI,XIANGYINGDEYEKUANGBIXUBEIBANGDING,ZHIDAOSHUJUBAOCHUANSONGWANCHENG。WEILEBAOZHENGGONGPINGXING,XenZAISHUJUBAODIAODUQISHANGSHIXIANLEJIANDANDEXUNHUANLUNZHUAN(round-robin)SUANFA。

WEILEYOUXIAODISHIXIANSHUJUBAODEJIESHOU,WOMENXUYAOguestOSWEIMEIYIGETAJIESHOUDAODESHUJUBAOJIAOHUANYIGEMEIYOUSHIYONGDEYEKUANG(//ZHEIGEZHAOERTINGJUEDE,WOJIUBUJIANGYENEIRONGFUZHIDAOWOZIJIDEYEKUANGLILE,ZHIJIEBAZHEIGEYEKUANGNARUZIJIDEQIXIA,RANHOUZAIHUANGEWOMEIYONGDEKONGYEKUANGJINI,FANZHENGZHIYAOXIUGAIDIZHIZHUANHUANSHUZUJIUKEYILE);ZHEIJIUBIMIANLEXUYAOZAIXenHEguestOSZHIJIANFUZHISHUJUBAONEIRONGDEMAFAN,DANSHIZHEIMEZUOBIXUYAOQIUZAIWANGLUOJIEKOUZHONGJIESHOUHUANCHONGDUILIEZHONGDEYOUYEDUIQIDEQUYU(//YINWEIZHEIMEZUOSHIZHIJIEYIYEKUANGWEIDANWEIJINXINGDE,SUOYIYICIJIAOHUANJIUSHIYIYEDENEIRONG,SUOYIXUYAOTIGONGYEDUIQIDEHUANCHONGQUYUCAIKEYIJINXING)。DANGYIGESHUJUBAOBEIJIESHOU,XenLIJIJIANCHAJIESHOUGUIZEZULAIQUEDINGMUDEVIF,RANHOUJIANGSHUJUBAOHUANCHONGQUHEXIANGYINGDEJIESHOUHUAN(//JIESHOUHUANCUNZAIYUGEGEdomainZHONG)JIAOHUANYIGEYEKUANG。RUGUOZHEISHIMEIYOUYEKUANGKEYONGDEHUA,SHUJUBAOJIUBEIDIUQI。

3.3.6CIPAN

ZHIYOUDomain0NENGGOUBUJINGJIANCHADIZHIJIEFANGWENWULI(IDEHESCSI)CIPAN。SUOYOUQITADEdomainFANGWENYONGJIUXINGCUNCHUJIEZHIDESHIHOU,DOUYAOTONGGUOXUNIKUAISHEBEI(VBD)CHOUXIANG。ZHEIGECHOUXIANGSHIYOUYUNXINGZAIDomain0ZHONGDEGUANLIRUANJIANLAICHUANGJIANHEPEIZHIDE。YOUDomain0GUANLIVBDSHIDEXenZHONGDEJIZHIBIJIAOJIANDAN,BUBISHIYONGGENGFUZADEJIEJUEFANGAN(BIRUExokernelZHONGSHIYONGDEUDF[23])。

YIGEVBDSHIYOUYIXIEHESUOYOUQUANYIJIFANGWENKONGZHIXINXIXIANGGUANDEKUOZHANZUCHENGDE,KEYITONGGUOI/OHUANJIZHILAIFANGWEN。YIGEDIANXINGDEguestOSCIPANDIAODUSUANFAJIANGZHONGXINPAIDINGQINGQIUDEYOUXIANJIBINGBATAMENPAIJINHUANZHONG,ZHEIYANGZUOSHIWEILEJINLIANGJIANSHAOXIANGYINGSHIJIAN,BINGQIEKEYIYOUQUBIEDIJINXINGFUWU(LIRU,YOUYUJINXINGTOUJIDEXIANGQIANDUQINGQIUDEDAIJIAHENGAO,DIAODUQIKENENGHUIXUANZEZHUDONGXIANQUDIAODUHOUMIANDEDUITONGBUSHUJUDEFANGWENQINGQIU)。LINGWAI,YINWEIXenDUIZHENSHIDECIPANGUIHUAJUYOUGENGWANZHENGDERENSHI,SUOYIWOMENYEYAOZAIXenZHONGZHICHIZHONGXINDINGXU(//GANGGANGTIDAODESHIguestOS),BINGQIEKEYILUANXUDIFANHUIXIANGYING。YINCI,DUIYUguestOSLAISHUO,VBDYOUYIDIANXIANGSCSICIPAN。

ZAIhypervisorNEIBUHAIWEIMEIGEVBDWEIHULEYIGEZHUANHUANBIAO;ZHENGGEBIAOZHONGDENEIRONGDOUYOUDomain0TONGGUOTEQUANKONGZHIJIEKOUJINXINGANZHUANGHEGUANLI。ZAIJIESHOUDAOYIGECIPANQINGQIUHOU,XenJIANCHAVBDBIAOSHIFUHEPIANYI,BINGQIECHANSHENGXIANGYINGDESHANQUDIZHIHESUOSHUWULISHEBEI。XUKEJIANCHAYESHIZAIZHEIGESHIHOUJINXINGDE(//JIANCHADAODINENGBUNENGJINXINGZHEIGECIPANCAOZUO)。LINGFUZHISHUJUCHUANDIJIANGYIDMADEFANGSHIZAICIPANHEBANGDINGDAOGAIFACHUQINGQIUDEdomainSHANGDENEICUNYEZHIJIANJINXING。

XenHUISHIYONGJIANDANDEXUNHUANLUNZHUANFANGSHILAICHENGPICHULIGEGECUNZAIJINGZHENGGUANXIDEdomainFACHUDEQINGQIU;RANHOU,ZAIDAODACIPANYINGJIANZHIQIAN,ZHEIXIEQINGQIUCHUANJIBIAOZHUNDEDIANTIDIAODUQI。domainKEYIXIANSHIDISHEZHIZHONGDINGXUZHANGAI(//BUXUZHONGDINGXU)LAIFANGZHIZAIBIXUWEICHIGAOCENGCIYUYIDESHIHOU(LIRU,ZAISHIYONGLEYIGEYUXIERIZHI(write-aheadlog)DESHIHOU)JINXINGZHONGDINGXU。DANGCHENGPIDEQINGQIUZHONGNENGGOUXIANXIANCHUFANGWENDEGONGPINGXINGDESHIHOU,DICENGDEDIAODUNENGGOUJIWOMENDAILAIHENHAODETUNTULIANG。XIAYIBUGONGZUOJIANGYANJIUSHIYONGXIANYOUDEJISHUHEDIAODUQITIGONGGENGKEYUCEDEGELIXINGHEZHICHIGENGYOUCHABIEDESHEBEI。

3.4JIANLIXINDEDomain

WEIYIGEXINDEdomainJIANLICHUSHIDEguestOSJIEGOU,ZHEIGERENWUHENDACHENGDUSHANGSHIWEITUOJIDomain0WANCHENGDE。Domain0SHIYONGTADETEQUANKONGZHIJIEKOU(2.3DUAN)FANGWENXINDEdomainDECUNCHUKONGJIANBINGGAOZHIXenGAIXINdomainDECHUSHIJICUNQIZHUANGTAI。ZHEIGEFANGFAXIANGDUIYUYOUXenJIANLIZHENGGEdomainLAISHUOYOUYIXIEYOUSHI,BAOKUOJIANSHAOLEhypervisorDEFUZADU,GAIJINLELUBANGXING(DUITEQUANJIEKOUDEFANGWENYAOJINGGUOWANQUANDIJIANCHADE,SHIDEWOMENNENGGOUZAICHUSHIJIEDUANBUZHUODAODABUFENDEbug.

ZUIZHONGYAODESHI,ZHENGGEJIANLIGUOCHENGYIYUBEIKUOZHAN,KEYIYINGFUXINDEguestOS.LIRU,LinuxNEIHEYINDAOSHIDEDIZHIKONGJIANSHIYAOBIWindowsXPJIANDANDEDUODE。WOMENKEYIWEISUOYOUDEguestOSZHIDINGYIGEGUDINGDECHUSHINEICUNGUIHUA,DANSHIZHEIYANGDEHUAJIUXUYAOZHENDUIMEIGEguestOSBIANXIEEWAIDEYINDAOXIANJINGDAIMAYONGLAIANZHICAOZUOXITONGSUOXUDEQITABUFEN。BUXINGDESHI,ZHEILEIDAIMASHIFEICHANGNANYISHIXIANDE;WEILEHUODEJIANDANXINGHELUBANGXING,GENGHAODESHIXIANFANGFAJIUSHISHIYONGDomain0,TANENGGOUTIGONGBIYINDAOCHENGXUGENGCHONGYUDEZHENDUANHEDIAOSHIZHICHI。

Scatter-gatherDMAFANGSHISHIYUblockDMAFANGSHIXIANGDUIYINGDEYIZHONGDMAFANGSHI。

ZAIDMACHUANSHUSHUJUDEGUOCHENGZHONG,YAOQIUYUANWULIDIZHIHEMUBIAOWULIDIZHIBIXUSHILIANXUDE。DANSHIZAIMOUXIEJISUANJITIXIZHONG,RUIAJIAGOU,LIANXUDECUNCHUQIDIZHIZAIWULISHANGBUYIDINGSHILIANXUDE,SUOYIDMACHUANSHUYAOFENCHENGDUOCIWANCHENG。

RUGUOZAICHUANSHUWANYIKUAIWULISHANGLIANXUDESHUJUHOUYINQIYICIZHONGDUAN,RANHOUZAIYOUZHUJIJINXINGXIAYIKUAIWULISHANGLIANXUDESHUJUCHUANSHU,NEIMEZHEIZHONGFANGSHIJIUWEIblockDMAFANGSHI。Scatter-gatherDMAFANGSHIZEBUTONG,TASHIYONGYIGELIANBIAOMIAOSHUWULISHANGBULIANXUDECUNCHUKONGJIAN,RANHOUBALIANBIAOSHOUDIZHIGAOSUDMAmaster.DMAmasterZAICHUANSHUWANYIKUAIWULILIANXUDESHUJUHOU,BUYONGFAQIZHONGDUAN,ERSHIGENJULIANBIAOLAICHUANSHUXIAYIKUAIWULISHANGLIANXUDESHUJU,ZHIDAOCHUANSHUWANBIHOUZAIFAQIYICIZHONGDUAN。

HENXIANRAN,scatter-gatherDMAFANGSHIBIblockDMAFANGSHIXIAOLVGAO。

4.相关工作

XUNIHUAJISHUBEIYINGYONGZAISHANGYEHUAHEYANJIUXINGCAOZUOXITONGSHANGYIJINGYOUJIN30NIANLE。IBMVM/370[19,38]ZUIXIANSHIYONGLEXUNIHUAJISHUYITIGONGDUIXIANQIANCUNLIUDEDAIMADEZHICHI。VMware[10]HEConnectix[8]CAIYONGLEJIANGCHANGYONGDEPCYINGJIANJINXINGXUNIHUADEFANGFA,YUNXUDUOGECAOZUOXITONGZAITONGYITAIZHUJISHANGYUNXING。SUOYOUZHEIXIELIZIDOUDUIDICENGYINGJIAN(ZHISHAOSHIDICENGYINGJIANDEYIGEZIJI)JINXINGLEWANQUANXUNIHUADESHIXIAN,ERBINGFEISHIZHUNXUNIHUADEFANGFATIGONGJIguestOSYIGEXIUGAIHOUDEJIEKOU。ZHENGRUWOMENDEPINGGUJIEGUOZHONGJICHUDE:WANQUANXUNIHUASUIRANNENGGOUGENGRONGYIDIZHICHISHANGYESHISHOUDECAOZUOXITONG,DANSHIQUEDADAJIANGDILEXINGNENG。

VMMFANGFAHAIBEIDiscoYONGYUJIANGCHANGYONGDECAOZUOXITONGGAOXIAODIYUNXINGZAIccNUMAJIQISHANG[7,18].QIJIANYAODUIBEICAOKONGDECAOZUOXITONGZUOSHAOLIANGDEGAIDONG,YISHIQINENGGOUXUNIHUADIYUNXINGZAIMIPSTIXIJIEGOUSHANG。LINGWAI,CHUYUXINGNENGDEKAOLV,HAIYAOZUOYIXIEQITAXIUGAI。

XIANZAI,WOMENZHIDAOYOULIANGGEQITADEXITONGYECAIYONGLEZHUNXUNIHUADEFANGFA:IBMBUJIUQIANTICHUDELinuxDEZHUNXUNIHUABANBENYUNXUDALIANGDELinuxSHILITONGSHIYUNXING,JIANGYONGYUTAMENDEzSeriesDAXINGJISHANG。Denali[44]ZAIZHIQIANYIJINGTAOLUNGUO,TASHIYIGEZANSHIGELIDENEIHE,SHITUTIGONGNENGGOUCAOKONGDALIANGXUNICAOZUOXITONGSHILIDEXITONGNENGLI。

CHULEDenali,WOMENHAIZHIDAOYOULIANGZHONGQITADEFANGFASHIYONGLEDICENGXUNIHUAJISHUJIANLIFENBUSHIXITONGDEDICENGJIAGOU。vMatrix[1]SHIJIYUVMwareDE,TADEMUBIAOSHIJIANLIYIGEYONGYUZAIBUTONGJIQIJIANYIDONGDAIMADEPINGTAI。YOUYUvMatrixSHIZAIVMwareZHISHANGKAIFADE,YINCITAGENGGUANZHUDESHIXUNIHUAJISHUZAIFENBUSHIHUANJINGZHONGCUNZAIDEGAOCENGWENTI。LINGWAI,ZAIIBMTICHUDE“TUOGUANGUANLI(ManagedHosting)”FUWUZHONG,XUNILinuxDESHILIKEYIZAIIBMDAXINGJISHANGBEIZUYONG(//DAXINGJISHANGPAODUOGELinuxSHILI,NIKEYIZUYIGEYONG,DAJIANNIZIJIDEXITONG,HEQITAZUHUGONGXIANGDAXINGJIDEZIYUAN)。

PlanetLabXIANGMU[33]GOUJIANLEYIGEFENBUSHIDEDICENGJIAGOU,TADESHEJIMUDESHIZUOWEISHIYANCHUANGYONGYUYANJIUHEKAIFADILIKONGJIANFENBUDEWANGLUOFUWU。PINGTAIDEDUIXIANGSHIYANJIUZHE,SHITUJIANGDANGEDEWULIZHUJIHUAFENWEITIAO(sliver),TIGONGTONGSHIDEDUIYONGHUDEDICENGFANGWEN。XIANGMUDANGQIANSHIYONGDESHIVServers[17]HESILK[4]LAIGUANLICAOZUOXITONGNEIBUDEGONGXIANG。

WOMENZAIHECAOZUOXITONGWAIYANYANJIUHEZHUDONGWANGLUOTONGXINYANJIUZHONGDEYIXIESILUZUOBIJIAO。DANGDAIMAZAIXenSHANGMIANYUNXINGDESHIHOUMEIYOUBIYAOJIANCHAQI“ANQUANXING”,YEMEIYOUBIYAOQUJIANCHADAIMAYUNXINGSHIFOUNENGGOUBAOZHENGZHONGZHI,YINWEIZAIZHEIXIEQINGKUANGZHONGWEIYIDESHOUHAIRENSHINEIXIEKEYIDEKEHU。YUSHIXenTIGONGLEGENGTONGYONGDEFANGAN:ZHEIGEFANGANBUXUYAOYOUYIGEKEXINDEBIANYIQIWEIBEICAOKONGDEDAIMAZUOSHUZIQIANMING(BIRUSPIN[5]),BUXUYAOZHEIXIEDAIMABEIYIGEANQUANZHENGMINGBANSUI(BIRUPCC[31]),BUXUYAOYOUYIZHONGTESHUDEYUYANXIECHENG(BIRUSafetyNet[22]HUOZHEQITAJIYUJavaDEXITONG),YEBUXUYAOYILAIYUTESHUDEZHONGJIANJIAN(BIRUYIDONGDAILI(mobile-agent)XITONG)。DANGRAN,ZHEIXIEQITADEJISHUNENGGOUJIXUZAIYUNXINGZAIXenSHANGDEguestOSZHONGSHIYONG,ERQIEKENENGHUIDUINEIXIESHIXIANGENGDUANZANDERENWUFUZAIYOUZHETEBIEDEYONGTU,YINWEIZHEILEIRENWUMEIYOUJIHUIBEICHENGPICHULIYIJIANSHAOQIDONGYIGEXINDEdomainDEDAIJIA。(//ZHEIDUANDEYISI,WODEGANJUESHIZAICAOZUOXITONGWAIYANYANJIUHEZHUDONGWANGLUOTONGXINYANJIUWEILEBAOZHENGDAIMAANQUAN,CAIYONGLEDUOZHONGDUOYANGDEFANGFA;DANSHIZAIXenZHONG,ZHEIXIEFANGFADOUSHIBUBIYAODE,YINWEIXenDEANQUANXINGQUERENCELVEBIJIAOJIANDAN,QIANWENYOUTIJI;DANSHIZHEIXIEFANGFAZAIXenZHONGYEHAISHIYOUTAMENDEZUOYONG,BIRUDUIYUSHIXIANDUANZANDERENWU,TADENGBUJICHENGPIDIBEIQUEREN,NEIMETAJIUXUYAOYONGQITAFANGFABAOZHENGANQUANXING。)

#p#分页标题#e#

配资公司 YUYANJIXUNIJI(//BIRUJavaXUNIJI)FANGFAZHONGYECUNZAIZHELEISIDEWENTI:YIGEGUANLIZIYUAN(resource-managed)DEJVM[9]KENDINGNENGGOUCAOKONGBUKEXINDEYINGYONG,QIANTISHIZHEIXIEYINGYONGBIXUBEIBIANYIWEIJavaZIJIEMABINGQIEZUNXUNTEBIEDEXITONGANQUANMOXING(//BUKEXINDEDAIMA,JISHICHULEWENTI,DANSHIYOUYUQIZUNXUNXITONGANQUANMOXING,SUOYIYEBUHUIZAOCHENGWEIHAI)。ZHEIYANGDEHUA,XenJIUNENGGOURONGYIDIZHICHIYUYANJIXUNIJI,JIUXIANGZHICHIQITAYUNXINGZAIguest

OSSHANGDEYINGYONGYIYANG。(//ZHEIDUANDEYISI,HEQIANMIANLEISI,RENGJIUSHIBIAOMINGXenBINGBUTIGONGGUODUODEANQUANXINGJIANCHA;RUGUOYAOPAOYUYANXUNIJIZHILEIDEYINGYONG,YUYANDEANQUANXINGYAOYOUXUNIJIYINGYONGBENSHENBAOZHENG,ERBUGUANXIDAOXen.)

5.讨论和结论

WOMENZAISHANGWENJIESHAOLEXenhypervisor.TANENGGOUJIANGJISUANJIDEZIYUANHUAFENJIGEGEYUNXINGZHEguest

OSDEdomain.WOMENDEZHUNXUNIHUASHEJITEBIEQIANGDIAOLEXINGNENGHEZIYUANGUANLI。WOMENHAIMIAOSHUHEPINGGULEXeonLinux,XeonLinuxSHIJIANGLinux2.4NEIHEXIANGXenSHANGZUODEWANQUANYIZHI。

5.1FutureWork—JIANGLAIDEGONGZUO

WOMENRENWEIXenHEXenoLinuxWANQUANNENGGOUBEIYONGYUGENGGUANGKUODEKONGJIAN,SUOYIWOMENZHUNBEIZAIBUJIUDEJIANGLAIBAWOMENDERUANJIANZUOCHENGYIGEGONGKAIBANBEN。DANGQIANYIJINGYOUYIGEBetaBANBENZHENGZAIBEIPINGGU(//MAOSIJIUSHINEIGEClarksonUniversityZUODEGONGZUO);YIDANPINGGUJIEDUANJIESHU,WOMENJIUHUIZAIXIANGMUZHUYESHANGFABU1.0BAN。

ZAIWANCHENGCHUSHIBANBENHOU,WOMENJIHUADUIXenZUOYIXIEDEKUOZHANHEGAIJIN。WEILEZENGJIAXUNIKUAISHEBEIDEXIAOLV,WOMENZHUNBEISHIXIANYIGEYOUKUAINEIRONGSUOYINDEGONGXIANGDETONGYONGHUANCHONGCache(universalbuffercache)。ZHEIJIANGWEIWOMENDESHEJIZENGJIASHOUKONGDESHUJUGONGXIANG,TONGSHIQUEBUXISHENGGELIXING。WEIXUNIKUAISHEBEIZENGJIAXIEFUZHI(copy-on-write)YUYI,SHITAMENNENGGOUZAIdomainZHIJIANBEIANQUANDIGONGXIANG,JISHISHIBUTONGDEWENJIANXITONGYEBUHUIYOUWENTI(//XIEFUZHI,BAOZHENGYIZHIXING,JIANSHAONEIRONGFUZHIKAIXIAO;BUGUOKUAWENJIANXITONGYINGGAIHAISHIBUHENRONGYIBA?)。

WEILETIGONGGENGHAODEphysical(//WULI?HAISHIXIANGZHIQIANTIDAODESHI“SHIJIFENDEDE”?YINGGAISHIHOUZHE)NEICUNXINGNENG,WOMENJIHUASHIXIANYIGEZUIHOUJIHUIYEHUANCUN(LPC:last-chancepagecache)。ZHEISHIYIGEQUANXITONGFANWEINEIDEKONGXIANYELIANBIAO,ZHIYOUZAIJIQINEICUNWEIBEIFENGUANGDEQINGKUANGXIA,LIANBIAOCAIYOUFEILINGDEZHANGDU。DANGguestOSXUNICUNCHUXITONGXUANZESHEQIYIGEGANJING(clean:SHUJUZHONGMEIYOUdirtydata,DOUSHIYUCIPANZHONGXIANGTONGDE)DEYESHIHUISHIYONGDAOLPC;ZHEIGEGANJINGDEYEHUIBEIJIARUDAOKONGXIANLIANBIAODEJIEWEI,ERBINGFEIBEIWANQUANPAOQI。RUGUOZAIGAIYEZHONGXINBEIXenFENPEIZHIQIANFASHENGLEHEGAIYEXIANGGUANDECUOWU,NEIMEDUICUOWUDECHULISHIBUXUYAOCIPANFANGWENDE(WODELIJIESHI,YIWANGDEFANGFARUGUOCAOZUOXITONGSHIFANGLENEICUNZIYUANDEHUA,NEIMETARUGUOZAIXIANGSHIYONGGANGCAISHIFANGYESHANGDEZIYUANJIUBIXUZHONGXINCONGCIPANSHANGDIAORU;ERXIANZAIDElast-chance,JIUJILECAOZUOXITONGYIGEJIHUI,RUGUOCHUXIANLEHEGANGSHIFANGDIAODEYENEIRONGXIANGGUANDECUOWU,NEIMECAOZUOXITONGKEYIZHIJIECONGZHEIGELPCZHONGDIAOXIANGGUANYE,ERBUYONGFANGWENCIPAN)。

XenDEYIGEZHONGYAOJIAOSESHIZUOWEIXenoServerDEJICHU。XenoServerDESHEJIMUBIAOCHAOYUELEDANJIDEFANCHOU,TAYAODAJIANDESHIZHICHIYIGEHULIANWANGGUIMOJISUANJIAGOUSUOBIXUDEKONGZHIXITONG。DUIYUWOMENDESHEJILAISHUO,GUANJIANZAIYUZIYUANDESHIYONGYAOBEIJINGQUEDIJISUANBINGQIEYOUGONGZUODEFAQIZHEXIANGBANFAMANZUZIYUANXUQIU—RUGUOZIYUANBIXUYAOJISHIDUIXIAN,WOMENJIUSHIYONGYIGEYONGSAIDINGJIACELVELAICHULINEIXIECHAOGUOZIYUANTIGONGNENGLIDEYAOQIU,SHIYONGTOUZHIDEFANGFAMANZUCHAOCHUDEXUQIU。ZHEIJIUBIXUYAOYOUJINGQUE、JISHIDEI/ODIAODU,TAYAONENGGOUGENGYOUDANXINGDICHULINEIXIEBUYOUHAO(//EYITOUZHI?)DEGONGZUOFUZAI。WOMENHAIJIHUACHUANGJIANXUNIKUAISHEBEIZUJIEDENGXINGSHI,JIANGHUIJIXUEZHONGDEYIXIELILUN(//SHANGSHUDEZUJIE,TOUZHIZHILEIDEGAINIANDOUSHISHUYUHUIJIXUEDEFANCHOU)JIEJIANJINWOMENDEKUAICUNCHUJIAGOUZHONG。

WEILENENGGOUWEIXenoServerDEGUANLIHEJINGYINGTIGONGGENGHAODEZHICHI,WOMENZHENGZAIJIARUDUIRIZHISHENHEHERIZHIJIANZHENGGENGCHEDIDEZHICHI。WOMENHAIZAIKAIFAQITADEVFRGUIZE,XIWANGZHEIXIEGUIZENENGGOUSHIWOMENJIANCEHEFANGZHIGENGDAFANWEIDEDUISHEHUIYOUWEIHAIDEWANGLUOXINGWEI。ZUIZHONG,WOMENZHENGZAIJIXUWOMENZAIXenoXPSHANGDEGONGZUO,ZUIZHONGYAODEGONGZUOJIUSHIBIANXIEWANGLUOHEKUAISHEBEIQUDONGSHILI,GONGZUODEMUBIAOSHIWANQUANZHICHIQIYEJIDEFUWUQIYINGYONG(RUIIS)。

5.2JIELUN

XenTIGONGLEYIGEYOUXIUDEPINGTAI,ZAIZHEIGEPINGTAISHANGNENGGOUPEIZHIGUANGFANDEDUOYANGHUADEYIWANGLUOWEIZHONGXINDEFUWU,BIRUDONGTAIwebNEIRONGDEJUBUJINGXIANG,MEITILIUDEBIANMAZHUANHUANHEFENFA,DUOYONGHUYOUXIHEXUNIXIANSHIFUWUQI,HAIYOUWEISHUNSHILIANJIESHEBEITIGONGDUANZANWANGLUOLIANJIEDE“ZHINENGDAILI”[2]FUWU。

XenZHIJIEJIEJUEDESHIZAIBUSHUFUWUSHIYUDAODEZUIDAZHANGAI,JIDANGQIANBUNENGGOUZAIDISHILIHUAKAIXIAODEQIANTIXIA,DUISHUNSHIFUWUQICAOKONGJIAODUANDESHIJIAN(//SHUNSHIFUWUQI:SHIYOUSHIWU,YOUSHIHOUXUYAOYOUSHIHOUBUXUYAO;ERJISHISHIMEICIXUYAO,YEZHISHICAOZUOHENDUANDESHIJIAN,MASHANGJIUYOUBUXUYAOLE;SUOYIZHEIYANGDEHUA,PINPINQIEHUAN,JIUXUYAOHENDADESHILIHUAKAIXIAO,YINWEIMEICIQIDONGSHUNSHIFUWU,JIUYAOSHILIHUAYICI;DANSHIXenZHONG,FANZHENGWOKEYIPAODUOGEXITONG,NEIJIUZHUANMENLIUYIGEHUOJIGEXITONGJINIPAOSHUNSHIFUWU,TONGSHIHAIBUDANWUWOQITAFUWUDEXINGNENG)。TONGGUOYUNXU100GECAOZUOXITONGYUNXINGZAIDANTAIFUWUQISHANG,WOMENJIANSHAOLELIANGGESHULIANGJIDEXIANGGUANKAIXIAO。GENGJINYIBUDE,WOMENKEYIBADUIMEIGECAOZUOXITONGJINXINGSHEDINGHEPEIZHIDEGUOCHENGZHUANBIANWEIRUANJIANXINGWEI,ZHEIYANGJIUNENGGOUGENGRONGYIDICAOKONGGENGXILIDUDESHIJIANPIAN。

ZHENGRUWOMENJIE?BUFENJICHUDESHIYANJIEGUO,ZAIXenSHANGYUNXINGXenoLinuxDEXINGNENGJIHUYUBENDILinuxXITONGDEXINGNENGXIANGTONG。ZHISUOYIHUIYOUZHEIYANGDEJIEGUO,ZHUYAODEYIYUDUILIANGGEBUJIANZHIJIANJIEKOU(//JIUSHIVMMBA?CAOZUOXITONGHEDICENGYINGJIANLIANGGEBUFENZHIJIANDEJIEKOU)DEXIZHISHEJI,ZHEISHIDEWOMENJIHUGANJUEBUDAOZAISHIYONGZIYUANGUANLIGONGJUSHIDAILAIDEKAIXIAO。WOMENDEXIAYIBUGONGZUOSHIYIZHIBSDHEWindows

XPDENEIHEDAOXenSHANGLAIYANZHENGXenTIGONGDEJIEKOUDEPUSHIXING。

上一页[1][2][3][4][5][6][7]


本文引用网址:

在下列搜索引擎中搜索“Xen和虚拟化技术学习指南”的相关信息:

谷歌搜索 百度搜索 雅虎搜索 搜狗搜索 搜搜搜索 必应搜索 有道搜索
你可能还喜欢以下文章
  • 1雨后小故事完整版 雨后的小故事...
  • 2
  • 3
  • 4王婷不雅视频 王婷全裸艳照 王...
  • 5
  • 1
  • 2
  • 3说说"电视棒"为什么卖得这么火...
  • 4
  • 5
  • 1
  • 2中国女大学生的淫靡生活
  • 3武汉十七中教室门种子 教室门q...
  • 4林晨钰爆奶门视频qvod 林晨钰爆...
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5
    • ·上一篇文章:
    • ·下一篇文章:

    赞助商广告

    热门文章导读

    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12

    图片文章导读

    股票官网相关的文章阅览

    本类最新分享