{"id":95507,"date":"2020-09-30T13:42:18","date_gmt":"2020-09-30T11:42:18","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/v-gipervizore-xen-realizovana-podderzhka-platy-raspberry-pi-4"},"modified":"2020-09-30T13:42:18","modified_gmt":"2020-09-30T11:42:18","slug":"v-gipervizore-xen-realizovana-podderzhka-platy-raspberry-pi-4","status":"publish","type":"post","link":"https:\/\/prohoster.info\/pt\/blog\/news\/v-gipervizore-xen-realizovana-podderzhka-platy-raspberry-pi-4","title":{"rendered":"O hipervisor Xen implementou suporte para a placa Raspberry Pi 4","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Desenvolvedores do projeto Xen <noindex><a rel=\"nofollow\" href=\"https:\/\/xenproject.org\/2020\/09\/29\/xen-on-raspberry-pi-4-adventures\/\">foi anunciado<\/a><\/noindex> sobre a implementa\u00e7\u00e3o da possibilidade de usar o Xen Hypervisor em placas Raspberry Pi 4. A adapta\u00e7\u00e3o do Xen para funcionar em vers\u00f5es anteriores das placas Raspberry Pi foi prejudicada pela utiliza\u00e7\u00e3o de um controlador de interrup\u00e7\u00f5es n\u00e3o padr\u00e3o, que n\u00e3o possu\u00eda suporte para virtualiza\u00e7\u00e3o. Na Raspberry Pi 4, foi utilizado um controlador de interrup\u00e7\u00f5es comum GIC-400, suportado no Xen, e os desenvolvedores esperavam que n\u00e3o haveria problemas para iniciar o Xen. Mas, na realidade, tudo foi mais complicado do que o esperado, e para garantir o funcionamento do Xen na Raspberry Pi 4, foi necess\u00e1rio fazer altera\u00e7\u00f5es significativas no c\u00f3digo para trabalhar com a mem\u00f3ria.<\/p>\n<p> As primeiras vers\u00f5es das placas Raspberry Pi 4 limitavam o acesso apenas ao espa\u00e7o de endere\u00e7o do primeiro gigabyte de mem\u00f3ria, o que era insuficiente para o Dom0. As altera\u00e7\u00f5es necess\u00e1rias foram feitas na vers\u00e3o do Xen 4.14, mas imediatamente surgiu outro problema \u2014 no subsistema Xen, para a convers\u00e3o de endere\u00e7os virtuais em f\u00edsicos, era utilizada a chamada virt_to_phys, que n\u00e3o funcionava para todos os endere\u00e7os virtuais e tentativas de convers\u00e3o de alguns endere\u00e7os virtuais resultavam em erro. Para resolver esse problema, foi necess\u00e1rio adicionar outra fun\u00e7\u00e3o de convers\u00e3o de endere\u00e7os.<\/p>\n<p>N\u00e3o parou por a\u00ed, e uma peculiaridade no funcionamento do DMA surgiu \u2014 em todas as plataformas anteriormente suportadas pelo Xen (x86, ARM e ARM64), os endere\u00e7os DMA e f\u00edsicos sempre coincidiam, mas no Raspberry Pi 4 eles eram diferentes. Encontrar uma solu\u00e7\u00e3o para esse problema foi o mais complicado e exigiu o desenvolvimento de patches para o n\u00facleo Linux, que realizavam a convers\u00e3o entre endere\u00e7os f\u00edsicos e endere\u00e7os DMA. <\/p>\n<p>As corre\u00e7\u00f5es preparadas foram inclusas no kernel do Linux 5.9 e agora o Xen \u00e9 considerado pronto para organiza\u00e7\u00e3o de virtualiza\u00e7\u00e3o em placas Raspberry Pi 4. Inclusive, na Raspberry Pi 4 j\u00e1 \u00e9 poss\u00edvel usar <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/lf-edge\/eve\">EVE<\/a><\/noindex> (Edge Virtualization Engine), um motor para cria\u00e7\u00e3o e execu\u00e7\u00e3o de aplica\u00e7\u00f5es cloud-native, utilizando o Xen, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/linuxkit\/linuxkit\">Linuxkit<\/a><\/noindex> e <noindex><a rel=\"nofollow\" href=\"https:\/\/alpinelinux.org\/\">Alpine Linux<\/a><\/noindex> para construir a infraestrutura de virtualiza\u00e7\u00e3o em dispositivos port\u00e1teis.<\/p>\n<p>Al\u00e9m disso, vale destacar a corre\u00e7\u00e3o de <noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/\">10 vulnerabilidades<\/a><\/noindex> no Xen. As vulnerabilidades <noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-343.html\">CVE-2020-25599<\/a><\/noindex>,<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-340.html\">CVE-2020-25603<\/a><\/noindex> e<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-337.html\">CVE-2020-25595<\/a><\/noindex><br \/>\n potencialmente permitem que uma m\u00e1quina virtual obtenha privil\u00e9gios no ambiente host. Os problemas<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-344.html\">CVE-2020-25601<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-342.html\">CVE-2020-25600<\/a><\/noindex>,<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-339.html\">CVE-2020-25596<\/a><\/noindex>,<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-338.html\">CVE-2020-25597<\/a><\/noindex>,<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-336.html\">CVE-2020-25604<\/a><\/noindex>,<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-334.html\">CVE-2020-25598<\/a><\/noindex> e<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/xenbits.xen.org\/xsa\/advisory-333.html\">CVE-2020-25602<\/a><\/noindex><br \/>\ns\u00e3o limitados a causar nega\u00e7\u00e3o de servi\u00e7o.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Fonte: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53807\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Xen \u043e\u0431\u044a\u044f\u0432\u0438\u043b\u0438 \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Xen Hypervisor \u043d\u0430 \u043f\u043b\u0430\u0442\u0430\u0445 Raspberry Pi 4. \u0410\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0438 Xen \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430 \u043f\u0440\u043e\u0448\u043b\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u0445 \u043f\u043b\u0430\u0442 Raspberry Pi \u043c\u0435\u0448\u0430\u043b\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0439, \u043d\u0435 \u0438\u043c\u0435\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u0412 Raspberry Pi 4 \u0431\u044b\u043b \u043f\u0440\u0438\u043c\u0435\u043d\u0451\u043d \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0439 GIC-400, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u0432 Xen, \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043b\u0438, \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c Xen [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-95507","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Xen \u043e\u0431\u044a\u044f\u0432\u0438\u043b\u0438 \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Xen Hypervisor \u043d\u0430 \u043f\u043b\u0430\u0442\u0430\u0445.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/pt\/blog\/news\/v-gipervizore-xen-realizovana-podderzhka-platy-raspberry-pi-4\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_PT\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0435 Xen \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u043b\u0430\u0442\u044b Raspberry Pi 4 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Xen \u043e\u0431\u044a\u044f\u0432\u0438\u043b\u0438 \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Xen Hypervisor \u043d\u0430 \u043f\u043b\u0430\u0442\u0430\u0445.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/pt\/blog\/news\/v-gipervizore-xen-realizovana-podderzhka-platy-raspberry-pi-4\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-09-30T11:42:18+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-09-30T11:42:18+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47O hipervisor Xen tem suporte para a placa Raspberry Pi 4 | ProHoster","description":"Os desenvolvedores do projeto Xen anunciaram a implementa\u00e7\u00e3o da possibilidade de usar o Xen Hypervisor em placas.","canonical_url":"https:\/\/prohoster.info\/pt\/blog\/news\/v-gipervizore-xen-realizovana-podderzhka-platy-raspberry-pi-4","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"pt_PT","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0435 Xen \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u043b\u0430\u0442\u044b Raspberry Pi 4 | ProHoster","og:description":"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Xen \u043e\u0431\u044a\u044f\u0432\u0438\u043b\u0438 \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Xen Hypervisor \u043d\u0430 \u043f\u043b\u0430\u0442\u0430\u0445.","og:url":"https:\/\/prohoster.info\/pt\/blog\/news\/v-gipervizore-xen-realizovana-podderzhka-platy-raspberry-pi-4","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-09-30T11:42:18+00:00","article:modified_time":"2020-09-30T11:42:18+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"95507","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 11:04:40","updated":"2022-09-30 12:52:53","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/95507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/comments?post=95507"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/95507\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/media?parent=95507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/categories?post=95507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/tags?post=95507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}