{"id":301,"date":"2018-02-05T14:17:10","date_gmt":"2018-02-05T20:17:10","guid":{"rendered":"http:\/\/gimpland.org\/now\/?p=301"},"modified":"2018-06-09T13:02:56","modified_gmt":"2018-06-09T18:02:56","slug":"citrix-xenserver-how-to-convert-hvm-to-pv","status":"publish","type":"post","link":"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/","title":{"rendered":"Citrix XenServer &#8211; How to Convert HVM to PV"},"content":{"rendered":"<p>In order to take advantage of some XenServer features, you need to have a\u00a0paravirtualization (PV) turned on for your guest host.\u00a0 You maybe running in HVM because you installed your operating system from a disk and not a XenServer created template.\u00a0 Now days xen is built into the linux kernel and we don&#8217;t need a special kernel installed.\u00a0 We just need to change the settings in XenServer to boot the system.<\/p>\n<p>Note: I tested this on Ubuntu 14.04 and 16.04 with systems that already had XenTools installed.\u00a0 I&#8217;m assuming the procedure doesn&#8217;t change much to other distros.<\/p>\n<ol>\n<li>Find the UUID of the guest host you want to convert from HVM to PV<br \/>\n<code>xe vm-list name-label=&lt;name of guest host&gt;<\/code><\/li>\n<li>Print out the current parameters for the guest host and save them as a backup.<br \/>\n<code>xe vm-param-list uuid=&lt;uuid from step 1&gt;<\/code>\n<\/li>\n<li>Update\u00a0parameters to boot your system as\u00a0paravirtualization<br \/>\n<code>xe vm-param-set uuid=&lt;uuid from step 1&gt; HVM-boot-policy=\"\"<br \/>\nxe vm-param-set uuid=&lt;uuid from step 1&gt; PV-bootloader=pygrub<br \/>\nxe vm-param-set uuid=&lt;uuid from step 1&gt; PV-args=\"-- quiet console=hvc0\"<\/code>\n<\/li>\n<li>Find the UUID for your VDB boot disk<br \/>\n<code>xe vm-disk-list uuid=&lt;uuid from step 1&gt;<\/pre>\n<\/li>\n<li>Set the drive as bootable<br \/>\n<code>xe vbd-param-set uuid=&lt;uuid from step 4&gt; bootable=true<\/code>\n<\/li>\n<li>Boot the system and review the console in XenCenter.\u00a0 If the system boots, BUT you don't get the login window, you may need to complete create this config file.\n<ol>\n<li>Create this file if it doesn't exist on your guest host:\u00a0\/etc\/init\/hvc0.conf<\/li>\n<li>\n<code># hvc0 - getty<br \/>\n#<br \/>\n# This service maintains a getty on hvc0 from the point the system is<br \/>\n# started until it is shut down again.<\/p>\n<p>start on stopped rc RUNLEVEL=[2345]<br \/>\nstop on runlevel [!2345]<\/p>\n<p>respawn<br \/>\nexec \/sbin\/getty -L hvc0 9600 linux<\/code>\n<\/li>\n<li>Reboot<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In order to take advantage of some XenServer features, you need to have a\u00a0paravirtualization (PV) turned on for your guest host.\u00a0 You maybe running in HVM because you installed your operating system from a disk and not a XenServer created template.\u00a0 Now days xen is built into the linux kernel and we don&#8217;t need a &hellip; <a href=\"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Citrix XenServer &#8211; How to Convert HVM to PV&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[14],"tags":[15,17,152,19,150,149,151,18,58,16,57],"class_list":["post-301","post","type-post","status-publish","format-standard","hentry","category-virtualization","tag-citrix","tag-cli","tag-convert","tag-howto","tag-hvm","tag-paravirtualization","tag-pv","tag-virtualization-2","tag-xencenter","tag-xenserver","tag-xentools"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Citrix XenServer - How to Convert HVM to PV - gimpland.org<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Citrix XenServer - How to Convert HVM to PV - gimpland.org\" \/>\n<meta property=\"og:description\" content=\"In order to take advantage of some XenServer features, you need to have a\u00a0paravirtualization (PV) turned on for your guest host.\u00a0 You maybe running in HVM because you installed your operating system from a disk and not a XenServer created template.\u00a0 Now days xen is built into the linux kernel and we don&#8217;t need a &hellip; Continue reading &quot;Citrix XenServer &#8211; How to Convert HVM to PV&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/\" \/>\n<meta property=\"og:site_name\" content=\"gimpland.org\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-05T20:17:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-06-09T18:02:56+00:00\" \/>\n<meta name=\"author\" content=\"imp7\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"imp7\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2018\\\/02\\\/citrix-xenserver-how-to-convert-hvm-to-pv\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2018\\\/02\\\/citrix-xenserver-how-to-convert-hvm-to-pv\\\/\"},\"author\":{\"name\":\"imp7\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#\\\/schema\\\/person\\\/5a73603e0ec30511d5b90534c76679fb\"},\"headline\":\"Citrix XenServer &#8211; How to Convert HVM to PV\",\"datePublished\":\"2018-02-05T20:17:10+00:00\",\"dateModified\":\"2018-06-09T18:02:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2018\\\/02\\\/citrix-xenserver-how-to-convert-hvm-to-pv\\\/\"},\"wordCount\":196,\"commentCount\":2,\"keywords\":[\"citrix\",\"cli\",\"convert\",\"howto\",\"HVM\",\"paravirtualization\",\"PV\",\"virtualization\",\"XenCenter\",\"xenserver\",\"XenTools\"],\"articleSection\":[\"Virtualization\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/gimpland.org\\\/now\\\/2018\\\/02\\\/citrix-xenserver-how-to-convert-hvm-to-pv\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2018\\\/02\\\/citrix-xenserver-how-to-convert-hvm-to-pv\\\/\",\"url\":\"https:\\\/\\\/gimpland.org\\\/now\\\/2018\\\/02\\\/citrix-xenserver-how-to-convert-hvm-to-pv\\\/\",\"name\":\"Citrix XenServer - How to Convert HVM to PV - gimpland.org\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#website\"},\"datePublished\":\"2018-02-05T20:17:10+00:00\",\"dateModified\":\"2018-06-09T18:02:56+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#\\\/schema\\\/person\\\/5a73603e0ec30511d5b90534c76679fb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gimpland.org\\\/now\\\/2018\\\/02\\\/citrix-xenserver-how-to-convert-hvm-to-pv\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#website\",\"url\":\"https:\\\/\\\/gimpland.org\\\/now\\\/\",\"name\":\"gimpland.org\",\"description\":\"Donate by bitcoin: 12E1LyKb9Wwzw3iy6V4oWpHDXkTRC6UHJ9\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gimpland.org\\\/now\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/gimpland.org\\\/now\\\/#\\\/schema\\\/person\\\/5a73603e0ec30511d5b90534c76679fb\",\"name\":\"imp7\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x\",\"caption\":\"imp7\"},\"url\":\"https:\\\/\\\/gimpland.org\\\/now\\\/author\\\/imp7\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Citrix XenServer - How to Convert HVM to PV - gimpland.org","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/","og_locale":"en_US","og_type":"article","og_title":"Citrix XenServer - How to Convert HVM to PV - gimpland.org","og_description":"In order to take advantage of some XenServer features, you need to have a\u00a0paravirtualization (PV) turned on for your guest host.\u00a0 You maybe running in HVM because you installed your operating system from a disk and not a XenServer created template.\u00a0 Now days xen is built into the linux kernel and we don&#8217;t need a &hellip; Continue reading \"Citrix XenServer &#8211; How to Convert HVM to PV\"","og_url":"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/","og_site_name":"gimpland.org","article_published_time":"2018-02-05T20:17:10+00:00","article_modified_time":"2018-06-09T18:02:56+00:00","author":"imp7","twitter_misc":{"Written by":"imp7","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/#article","isPartOf":{"@id":"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/"},"author":{"name":"imp7","@id":"https:\/\/gimpland.org\/now\/#\/schema\/person\/5a73603e0ec30511d5b90534c76679fb"},"headline":"Citrix XenServer &#8211; How to Convert HVM to PV","datePublished":"2018-02-05T20:17:10+00:00","dateModified":"2018-06-09T18:02:56+00:00","mainEntityOfPage":{"@id":"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/"},"wordCount":196,"commentCount":2,"keywords":["citrix","cli","convert","howto","HVM","paravirtualization","PV","virtualization","XenCenter","xenserver","XenTools"],"articleSection":["Virtualization"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/","url":"https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/","name":"Citrix XenServer - How to Convert HVM to PV - gimpland.org","isPartOf":{"@id":"https:\/\/gimpland.org\/now\/#website"},"datePublished":"2018-02-05T20:17:10+00:00","dateModified":"2018-06-09T18:02:56+00:00","author":{"@id":"https:\/\/gimpland.org\/now\/#\/schema\/person\/5a73603e0ec30511d5b90534c76679fb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gimpland.org\/now\/2018\/02\/citrix-xenserver-how-to-convert-hvm-to-pv\/"]}]},{"@type":"WebSite","@id":"https:\/\/gimpland.org\/now\/#website","url":"https:\/\/gimpland.org\/now\/","name":"gimpland.org","description":"Donate by bitcoin: 12E1LyKb9Wwzw3iy6V4oWpHDXkTRC6UHJ9","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gimpland.org\/now\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/gimpland.org\/now\/#\/schema\/person\/5a73603e0ec30511d5b90534c76679fb","name":"imp7","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x","url":"https:\/\/secure.gravatar.com\/avatar\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d0544d7ec7cea4e1a78e16ae627707fdc0a3f9d32087dd9a87038b079316ac2d?s=96&d=identicon&r=x","caption":"imp7"},"url":"https:\/\/gimpland.org\/now\/author\/imp7\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4dqkb-4R","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/posts\/301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/comments?post=301"}],"version-history":[{"count":5,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/posts\/301\/revisions"}],"predecessor-version":[{"id":307,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/posts\/301\/revisions\/307"}],"wp:attachment":[{"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/media?parent=301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/categories?post=301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gimpland.org\/now\/wp-json\/wp\/v2\/tags?post=301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}