{"id":4231,"date":"2016-10-30T17:20:16","date_gmt":"2016-10-30T07:20:16","guid":{"rendered":"https:\/\/www.flamingspork.com\/blog\/?p=4231"},"modified":"2016-10-30T17:23:07","modified_gmt":"2016-10-30T07:23:07","slug":"windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/","title":{"rendered":"Windows NT4 for PowerPC guest on OPAL on POWER8 in qemu"},"content":{"rendered":"<p>Sometimes, programming is just for fun. This is what <a href=\"https:\/\/github.com\/andreiw\/prephv\">PREPHV<\/a> is for <a href=\"https:\/\/github.com\/andreiw\">Andrei Warkentin<\/a>. To quote the README:<\/p>\n<blockquote><p>&#8220;This is mostly a huge ugly hack, derived from my<br \/>\nppc64le_hello code. The running philosophy here is<br \/>\nto throw things together late at night with my family<br \/>\nasleep and see how far I get without a real design<br \/>\nor without a real desire to implement boring things<br \/>\nlike IDE (*sigh*) emulation&#8221;<\/p><\/blockquote>\n<p>Since my day job is maintaining the firmware that it runs on, I decided to have a go (it also ties in with the retro stuff I&#8217;ve been blogging about). So&#8230;<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-20.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4232\" data-permalink=\"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/screenshot-from-2016-10-30-17-22-20\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-20.png?fit=772%2C38&amp;ssl=1\" data-orig-size=\"772,38\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"screenshot-from-2016-10-30-17-22-20\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-20.png?fit=584%2C29&amp;ssl=1\" class=\"aligncenter size-full wp-image-4232\" src=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-20.png?resize=584%2C29&#038;ssl=1\" alt=\"screenshot-from-2016-10-30-17-22-20\" width=\"584\" height=\"29\" srcset=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-20.png?w=772&amp;ssl=1 772w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-20.png?resize=300%2C15&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-20.png?resize=768%2C38&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-20.png?resize=500%2C25&amp;ssl=1 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>and I&#8217;m off! (yes, this is the very latest qemu and skiboot):<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-32.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4233\" data-permalink=\"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/screenshot-from-2016-10-30-17-23-32\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-32.png?fit=763%2C476&amp;ssl=1\" data-orig-size=\"763,476\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"screenshot-from-2016-10-30-17-23-32\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-32.png?fit=584%2C364&amp;ssl=1\" class=\"aligncenter size-full wp-image-4233\" src=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-32.png?resize=584%2C364&#038;ssl=1\" alt=\"screenshot-from-2016-10-30-17-23-32\" width=\"584\" height=\"364\" srcset=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-32.png?w=763&amp;ssl=1 763w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-32.png?resize=300%2C187&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-32.png?resize=481%2C300&amp;ssl=1 481w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><a href=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-48.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4234\" data-permalink=\"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/screenshot-from-2016-10-30-17-23-48\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-48.png?fit=765%2C521&amp;ssl=1\" data-orig-size=\"765,521\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"screenshot-from-2016-10-30-17-23-48\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-48.png?fit=584%2C398&amp;ssl=1\" class=\"aligncenter size-full wp-image-4234\" src=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-48.png?resize=584%2C398&#038;ssl=1\" alt=\"screenshot-from-2016-10-30-17-23-48\" width=\"584\" height=\"398\" srcset=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-48.png?w=765&amp;ssl=1 765w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-48.png?resize=300%2C204&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-23-48.png?resize=440%2C300&amp;ssl=1 440w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>Yes, prephv does clear <strong>all thirty two megabytes<\/strong> of guest memory<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-24-15.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4235\" data-permalink=\"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/screenshot-from-2016-10-30-17-24-15\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-24-15.png?fit=762%2C245&amp;ssl=1\" data-orig-size=\"762,245\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"screenshot-from-2016-10-30-17-24-15\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-24-15.png?fit=584%2C188&amp;ssl=1\" class=\"aligncenter size-full wp-image-4235\" src=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-24-15.png?resize=584%2C188&#038;ssl=1\" alt=\"screenshot-from-2016-10-30-17-24-15\" width=\"584\" height=\"188\" srcset=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-24-15.png?w=762&amp;ssl=1 762w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-24-15.png?resize=300%2C96&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-24-15.png?resize=500%2C161&amp;ssl=1 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>A quick diversion, if you try Windows NT 3.51 for PowerPC, you get this:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-18-17-35.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4239\" data-permalink=\"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/screenshot-from-2016-10-30-18-17-35\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-18-17-35.png?fit=766%2C364&amp;ssl=1\" data-orig-size=\"766,364\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"screenshot-from-2016-10-30-18-17-35\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-18-17-35.png?fit=584%2C278&amp;ssl=1\" class=\"aligncenter size-full wp-image-4239\" src=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-18-17-35.png?resize=584%2C278&#038;ssl=1\" alt=\"screenshot-from-2016-10-30-18-17-35\" width=\"584\" height=\"278\" srcset=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-18-17-35.png?w=766&amp;ssl=1 766w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-18-17-35.png?resize=300%2C143&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-18-17-35.png?resize=500%2C238&amp;ssl=1 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n<p>But on NT4, you continue unharmed:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-32.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4236\" data-permalink=\"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/screenshot-from-2016-10-30-17-22-32\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-32.png?fit=772%2C442&amp;ssl=1\" data-orig-size=\"772,442\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"screenshot-from-2016-10-30-17-22-32\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-32.png?fit=584%2C334&amp;ssl=1\" class=\"aligncenter size-full wp-image-4236\" src=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-32.png?resize=584%2C334&#038;ssl=1\" alt=\"screenshot-from-2016-10-30-17-22-32\" width=\"584\" height=\"334\" srcset=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-32.png?w=772&amp;ssl=1 772w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-32.png?resize=300%2C172&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-32.png?resize=768%2C440&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-32.png?resize=500%2C286&amp;ssl=1 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>A sign I needed to hack my filesystem of bits of NT installer bits a bit more:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-45.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4237\" data-permalink=\"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/screenshot-from-2016-10-30-17-22-45\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-45.png?fit=768%2C576&amp;ssl=1\" data-orig-size=\"768,576\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"screenshot-from-2016-10-30-17-22-45\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-45.png?fit=584%2C438&amp;ssl=1\" class=\"aligncenter size-full wp-image-4237\" src=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-45.png?resize=584%2C438&#038;ssl=1\" alt=\"screenshot-from-2016-10-30-17-22-45\" width=\"584\" height=\"438\" srcset=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-45.png?w=768&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-45.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-22-45.png?resize=400%2C300&amp;ssl=1 400w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>But, on my next try:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-25-26.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4238\" data-permalink=\"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/screenshot-from-2016-10-30-17-25-26\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-25-26.png?fit=769%2C575&amp;ssl=1\" data-orig-size=\"769,575\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"screenshot-from-2016-10-30-17-25-26\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-25-26.png?fit=584%2C437&amp;ssl=1\" class=\"aligncenter size-full wp-image-4238\" src=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-25-26.png?resize=584%2C437&#038;ssl=1\" alt=\"screenshot-from-2016-10-30-17-25-26\" width=\"584\" height=\"437\" srcset=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-25-26.png?w=769&amp;ssl=1 769w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-25-26.png?resize=300%2C224&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-25-26.png?resize=768%2C574&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-from-2016-10-30-17-25-26.png?resize=401%2C300&amp;ssl=1 401w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>Well&#8230; looks like there&#8217;s an instruction that needs to be emulated (and there&#8217;s no code to currently do that). Mind you&#8230; this is decently far into booting before we hit anything fatal, which is a pretty impressive effort &#8211; and it is tempting to continue and see if it&#8217;ll run on real hardware and if it could be made to work well enough to not find any disks :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, programming is just for fun. This is what PREPHV is for Andrei Warkentin. To quote the README: &#8220;This is mostly a huge ugly hack, derived from my ppc64le_hello code. The running philosophy here is to throw things together late &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/windows-nt4-for-powerpc-guest-on-opal-on-power8-in-qemu\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_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":[588,615],"tags":[704,636,568,637,707,680,65],"class_list":["post-4231","post","type-post","status-publish","format-standard","hentry","category-opal","category-powerpc","tag-nt4","tag-opal","tag-power8","tag-powerpc","tag-prep","tag-retro","tag-windows"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-16f","jetpack-related-posts":[{"id":3991,"url":"https:\/\/www.flamingspork.com\/blog\/2015\/08\/28\/running-opal-in-qemu-the-powernv-platform\/","url_meta":{"origin":4231,"position":0},"title":"Running OPAL in qemu &#8211; the powernv platform","author":"Stewart Smith","date":"2015-08-28","format":false,"excerpt":"Ben has a qemu tree up with some work-in-progress patches to qemu to support the PowerNV platform. This is the \"bare metal\" platform like you'd get on real POWER8 hardware running OPAL, and it allows us to use qemu like my previous post used the POWER8 Functional Simulator - to\u2026","rel":"","context":"In &quot;IBM&quot;","block_context":{"text":"IBM","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/ibm-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4001,"url":"https:\/\/www.flamingspork.com\/blog\/2015\/10\/20\/tianocore-uefi-ported-to-openpower\/","url_meta":{"origin":4231,"position":1},"title":"TianoCore (UEFI) ported to OpenPower","author":"Stewart Smith","date":"2015-10-20","format":false,"excerpt":"Recently, there's been (actually two) ports of TianoCore (the reference implementation of UEFI firmware) to run on POWER on top of OPAL (provided by skiboot) - and it can be run in the Qemu PowerNV model. More details: http:\/\/firmwaresecurity.com\/2015\/10\/12\/tianocore-for-openpower\/ https:\/\/github.com\/andreiw\/ppc64le-edk2 https:\/\/github.com\/ozbenh\/edk2","rel":"","context":"In &quot;IBM&quot;","block_context":{"text":"IBM","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/ibm-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4210,"url":"https:\/\/www.flamingspork.com\/blog\/2016\/10\/30\/failed-retro-emulation-attempts\/","url_meta":{"origin":4231,"position":2},"title":"Failed Retro emulation attempts","author":"Stewart Smith","date":"2016-10-30","format":false,"excerpt":"For reasons that should escape everybody, I went back and looked at some old Operating Systems a little while ago: OS\/2 Warp, Windows 3.11 and Microsoft Chicago. So, I went on a little adventure this weekend, largely in failure though. Windows NT 3.51 This was the first version (err... no,\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot_rhapsodyDR2_2016-10-29_172143.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot_rhapsodyDR2_2016-10-29_172143.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot_rhapsodyDR2_2016-10-29_172143.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3925,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/12\/23\/more-openpower-firmware-code-released-occ\/","url_meta":{"origin":4231,"position":3},"title":"More OpenPower Firmware code released: OCC","author":"Stewart Smith","date":"2014-12-23","format":false,"excerpt":"Inside the IBM POWER8 chip there's another processor! That's right folks, you get another CPU for no extra cost (It's a lot funnier if you say these previous two sentences as if you were presenting an informercial for a special TV offer). It is, however, not what you'd consider a\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3970,"url":"https:\/\/www.flamingspork.com\/blog\/2015\/06\/15\/freebsd-on-openpower\/","url_meta":{"origin":4231,"position":4},"title":"FreeBSD on OpenPower","author":"Stewart Smith","date":"2015-06-15","format":false,"excerpt":"There's been some work on porting FreeBSD over to run natively on top of OPAL, that is, on bare metal OpenPower machines (not just under KVM). This is one of four possible things to run natively on an OPAL system: Linux hello_world (in skiboot tree) ppc64le_hello (as I wrote about\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3775,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/07\/17\/openpower-firmware-up-on-github\/","url_meta":{"origin":4231,"position":5},"title":"OpenPower firmware up on github!","author":"Stewart Smith","date":"2014-07-17","format":false,"excerpt":"With the whole OpenPower thing, a lot of low level firmware is being open sourced, which is really exciting for the platform - the less proprietary code sitting in memory the better in my books. If you go to https:\/\/github.com\/open-power you'll see code for a bunch of the low level\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/4231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=4231"}],"version-history":[{"count":3,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/4231\/revisions"}],"predecessor-version":[{"id":4242,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/4231\/revisions\/4242"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=4231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=4231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=4231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}