{"id":1141,"date":"2011-01-29T09:47:52","date_gmt":"2011-01-29T09:47:52","guid":{"rendered":"http:\/\/mccltd.net\/blog\/?p=1141"},"modified":"2011-03-28T16:51:16","modified_gmt":"2011-03-28T15:51:16","slug":"xen-hypervisor","status":"publish","type":"post","link":"http:\/\/darenmatthews.com\/blog\/?p=1141","title":{"rendered":"Xen Hypervisor"},"content":{"rendered":"<p>The Open Source Xen hypervisor runs directly on the hardware and becomes the interface for all hardware requests such as CPU, I\/O, and disk for the guest operating systems.\u00a0 By separating the guests from the hardware, the Xen hypervisor is able to run multiple operating systems securely and independently. <!--more--><\/p>\n<p>The Domain 0 Guest referred to as Dom0 is launched by the Xen hypervisor during initial system start-up and can run any operating system\u00a0 except Windows.\u00a0 The Dom0 has unique privileges to access the Xen hypervisor that is not allocated to any other Domain Guests. These privileges allow it to manage all aspects of Domain Guests such as starting, stopping, I\/O requests, etc. A system administrator can log into Dom0 and manage the entire computer system.<\/p>\n<p>The Domain Guests referred to as DomUs or unprivileged domains are launched and controlled by the Dom0 and independently operate on the system. These guests are either run with a special modified operating system referred to as paravirtualizion or un-modified operating systems leveraging special virtualization hardware (Intel VT and AMD-V)\u00a0 referred to as hardware virtual machine (HVM).\u00a0 Note: Microsoft Windows requires a HVM Guest environment.<\/p>\n<p><strong>Paravirtualization <\/strong><br \/>\nA term used to describe a virtualization technique that allows the operating system to be aware that it is running on a hypervisor instead of base hardware. The operating system must be modified to accommodate the unique situation of running on a hypervisor instead of basic hardware.<\/p>\n<p><strong>Hardware Virtual Machine (HVM) <\/strong><br \/>\nA term used to describe an operating system that is running in a virtualized environment unchanged and unaware that it is not running directly on the hardware. Special hardware is required to allow this, thus the term HVM.<\/p>\n<p><a href=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/01\/xen-hypervisor2.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1145\" title=\"xen-hypervisor\" src=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/01\/xen-hypervisor2.png\" alt=\"xen-hypervisor\" width=\"540\" height=\"372\" srcset=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/01\/xen-hypervisor2.png 540w, http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/01\/xen-hypervisor2-300x206.png 300w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/a><\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;\">The Xen hypervisor runs directly on the hardware and becomes the interface for all hardware requests<br \/>\nsuch as CPU, I\/O, and disk for the guest operating systems.\u00a0 By separating the guests from the<br \/>\nhardware, the Xen hypervisor is able to run multiple operating systems securely and independently.<br \/>\nThe Domain 0 Guest referred to as Dom0 is launched by the Xen hypervisor during initial system<br \/>\nstart-up and can run any operating system\u00a0 except Windows.\u00a0 The Dom0 has unique privileges to access<br \/>\nthe Xen hypervisor that is not allocated to any other Domain Guests. These privileges allow it to<br \/>\nmanage all aspects of Domain Guests such as starting, stopping, I\/O requests, etc. A system<br \/>\nadministrator can log into Dom0 and manage the entire computer system.<br \/>\nThe Domain Guests referred to as DomUs or unprivileged domains are launched and controlled by the<br \/>\nDom0 and independently operate on the system. These guests are either run with a special modified<br \/>\noperating system referred to as paravirtualizion or un-modified operating systems leveraging special<br \/>\nvirtualization hardware (Intel VT and AMD-V)\u00a0 referred to as hardware virtual machine (HVM).\u00a0 Note<br \/>\n\u2013 Microsoft Windows requires a HVM Guest environment.<br \/>\n\u2022 Paravirtualization<br \/>\nA term used to describe a virtualization technique that allows the operating system to be aware<br \/>\nthat it is running on a hypervisor instead of base hardware. The operating system must be<br \/>\nmodified to accommodate the unique situation of running on a hypervisor instead of basic<br \/>\nhardware.<br \/>\n\u2022 Hardware Virtual Machine (HVM)<br \/>\nA term used to describe an operating system that is running in a virtualized environment<br \/>\nunchanged and unaware that it is not running directly on the hardware. Special hardware is<br \/>\nrequired to allow this, thus the term HVM.<\/div>\n<p>With Xen virtualization, a thin software layer known as the Xen  hypervisor is inserted between the server&#8217;s hardware          and the operating system. This provides an abstraction layer  that allows each physical server to run one or more &#8220;virtual servers&#8221;,          effectively decoupling the operating system and its  applications from the underlying physical server.<\/p>\n<p>The Xen hypervisor is a unique open source technology,  developed collaboratively by the Xen community and engineers          at over 50 of the most innovative data center solution vendors,  including AMD, Cisco, Dell, Fujistu, HP, IBM, Intel, Mellanox,         Network Appliance, <a href=\"http:\/\/www.novell.com\/virtualization\/xen_opensource_hypervisor.html\" target=\"_blank\">Novell<\/a>, Red Hat, Samsung, SGI, Sun, Unisys, Veritas, Voltaire, and Citrix. Xen is licensed under the         <a href=\"http:\/\/www.gnu.org\/licenses\/gpl-2.0.html\" target=\"_blank\"> GNU General Public License (GPL2)<\/a> and is available at no         charge in both <a href=\"http:\/\/www.xen.org\/products\/xen_source.html\" target=\"_blank\">source and object format<\/a>. Xen is, and always will be, open         sourced, uniting the industry and the Xen ecosystem to speed the adoption of virtualization in the enterprise.<\/p>\n<p>The Xen hypervisor is also exceptionally lean&#8211; less than  150,000 lines of code. That translates to extremely low overhead         and near-native performance for guests. Xen re-uses existing  device drivers (both closed and open source) from Linux, making device         management easy. Moreover Xen is robust to device driver failure  and protects both guests and the hypervisor from faulty or malicious         drivers.<\/p>\n<p>Source of information:\u00a0 <a href=\"http:\/\/www.xen.org\" target=\"_blank\">http:\/\/www.xen.org<\/a><\/p>\n<p>Visit the Xen community at: <a href=\"http:\/\/www.xen.org\/community\/\" target=\"_blank\">http:\/\/www.xen.org\/community\/<\/a><\/p>\n<p>LinkedIn:\u00a0 <a href=\"http:\/\/www.linkedin.com\/groups?gid=167190\" target=\"_blank\">Xen Masters<\/a><\/p>\n<ul>\n<li><a href=\"http:\/\/lists.xensource.com\/\" target=\"_blank\">Xen Community Mailing Lists<\/a><\/li>\n<li><a href=\"http:\/\/www.xen.org\/community\/projects.html\" target=\"_blank\">Xen Community Projects<\/a><\/li>\n<li><a href=\"http:\/\/blog.xen.org\/\" target=\"_blank\">Xen Community Blog <\/a><a href=\"http:\/\/blog.xen.org\/index.php\/feed\/\"><img src=\"http:\/\/www.xen.org\/images\/icons\/feed-icon.gif\" alt=\"\" \/><\/a><\/li>\n<li><a href=\"http:\/\/wiki.xen.org\/xenwiki\/\" target=\"_blank\">Xen Development Community Wiki<\/a><\/li>\n<li><a href=\"http:\/\/bugzilla.xensource.com\/bugzilla\/index.cgi\" target=\"_blank\">Xen Bugzilla Database<\/a><\/li>\n<li><a href=\"http:\/\/xen.cyberneticos.com\/\" target=\"_blank\">Xen Solution Search Tool<\/a><\/li>\n<li><a href=\"http:\/\/www.youtube.com\/results?search_query=xen+hypervisor&amp;aq=f\" target=\"_blank\">Xen Videos from YouTube<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Open Source Xen hypervisor runs directly on the hardware and becomes the interface for all hardware requests such as CPU, I\/O, and disk for the guest operating systems.\u00a0 By separating the guests from the hardware, the Xen hypervisor is able to run multiple operating systems securely and independently.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[50],"tags":[4,52],"_links":{"self":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1141"}],"collection":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1141"}],"version-history":[{"count":17,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1141\/revisions"}],"predecessor-version":[{"id":1198,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1141\/revisions\/1198"}],"wp:attachment":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1141"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}