Tuesday, April 1, 2014

Windows 8.1 in KVM

As Windows XP comes to its end of life, I have to get with the times and test my windows programs in Windows 8.1.

Naturally I am drawn to KVM which is where I run all my Windows instances.

Despite some initial concerns regarding the lack of the +sep flag (covered in my winpe pxe blog), installing Windows 8.1 turned out to be a breeze. I just used the settings for Windows 7 64bit.

After the install I was prompted to log. I have no interest in using a 'Microsoft Account' so I used the obscure procedure of 'Don't have an account' -> 'Sign in without a Microsoft account' which would be better described as 'Create local account'.

The next confronting issue was the start menu or whatever they call it these days. I worked out that I should not to look at it, just to start typing. That works more or less the same as the 'search' on Windows 7 (but possibly faster. It makes by mind boggle that it can take so long to run cmd.exe on Windows 7).

Once I had the basics under control, I set about installing the VirtIO & Spice drivers for extra performance and GUI features (like screen resizing). Alas, spice-guest-tools-0.74.exe does not support Windows 8 and fails during the install complaining about an unsupported version of Windows.

I know the virtio drivers work because I have used them in WinPE so I set about installing them manually. Although they are compatible, installing them is not straight forward.

The driver files are made available under Program Files (x86)\SPICE Guest Tools

The method I normally use is to use guestfish to install the driver file and configure it in the Critical Driver Data Base (CDDB) using a registry patch. Windows 8 no longer has a CDDB so this method does not work.

In the end I reverted to an old method:
  • Add a new (temporary) VirtIO disk to the VM
  • Boot into Windows
  • Install the drivers for VirtIO
  • Shut down windows
  • Remove the temporary disk
  • Change the main disk from IDE to VirtIO
This method works much like it has since Windows 7 allowed changing of the boot path.

The VirtIO network seems to work fine.

Talking to a Samba sever required adjusting some settings. First there are some updates which are apparently required (according to Microsoft) so I make sure all the OS patches were installed first.

Next I adjusted some policy settings under Administrative Tools -> Local Security Policy -> Local Policies -> Security Options:
  • Network security: LAN Manager authentication level = Send LM & NTLM - use NTLMv2 session security if negotiated
  • Network security: Minimum session security for NTLM SSP based (including secure RPC) clients = No Minimum
Then restart the workstation service or reboot.

Finally, the graphics drivers. For reasons which don't seem to be explained, the QXL video driver is not compatible with Windows 8.1. The performance of the 'Microsoft' driver is not too bad but it means no resizing which is annoying.

I am hoping that the spice people make their drivers and installer work soon.

One final observation is to do with the windows version number. Windows 8.1 is NT 6.3 but unless your program is manifested for windows 8.1, you will get the version number 6.2. This is by design. Some kind of new design which means the the GetVersion... API has been deprecated. What are they doing over at Microsoft???

53 comments:

  1. John,

    "For reasons which don't seem to be explained, the QXL video driver is not compatible with Windows 8.1."

    Windows 8.1 requires a WDDM driver, which is in the initial stages of development. More information available here: http://www.spice-space.org/page/WDDM

    ReplyDelete
  2. There is a test driver available here
    http://people.redhat.com/~vrozenfe/qxlwddm/qxlwddm-0.6.zip
    The notes say that it is "not official, completely untested code. Use it on your own risk."
    I tried it out and it seems to work well for me as long as vdservice is not running. For more details see https://bugzilla.redhat.com/show_bug.cgi?id=895356

    ReplyDelete
  3. http://people.redhat.com/~vrozenfe/qxlwddm/qxlwddm-0.7.zip

    ReplyDelete
  4. Better yet, link the folder for latest binaries as previously posted comments are outdated: http://people.redhat.com/~vrozenfe/qxlwddm/

    ReplyDelete
  5. Thanks for sharing this quality information with us. I really enjoyed reading

    basketball legends

    ReplyDelete
  6. Thanks for the update. Your post helped me a lot. Each of your blog posts contains no fluff, just useful information which I like most about your website.
    Sage Support

    ReplyDelete
  7. Our QuickBooks tech support staff provides the services like they maintain records, financial records, and general ledgers, analyze and prepare and prepare budgets and perform general bookkeeping. We give the best service in terms of accounting. If you have any issues regarding this service just go to our official website and talk to our professionals. Quickbooks enterprise support

    ReplyDelete
  8. I think it is a good idea, I have thought of it but not as detailed as you. sushi cat 2

    ReplyDelete
  9. Thanks for writing! It is very easy to understand and detail. I find it interesting play cool math games I hope you continue to have such good posts.

    ReplyDelete
  10. Hello all, I'm trying to setup a windows 8.1 VM on kvm and it keeps on crashing.

    visit here

    ReplyDelete
  11. Points you raised very valid points in your post. It really happened some person do not have the right idea. But with your awesome tips, one can easily identify it.This post is discussing in an outstanding way. I like your way yo discussed your valid points and facts about this. I really said you share more and more articles. QuickBooks Chat support

    ReplyDelete
  12. quickbooks desktop support phone number is the here, if you have trouble in your quickbooks application in any type.

    ReplyDelete
  13. quickbooks put your daily work safe and never get your business lost QuickBooks support number and if you think so
    QuickBooks customer support number

    ReplyDelete
  14. I found a great y8 baixar gb whatsapp apkxyz on the net. I would recommend everyone surfing the site!

    ReplyDelete
  15. Replacing a Circuit Breaker from a household electrical service panel doesn’t require a great deal of knowledge in electrical circuits. It takes just a few minutes to remove a damaged Circuit Breaker and put a new one in place of it. Here we discussed How to Replace a Circuit Breaker. How to Replace a Circuit Breaker

    ReplyDelete
  16. If you want to save your precious conversations with your colleagues on your device, you can record your video calls. Here we discussed about How to Record FaceTime Video Call. How to Record FaceTime Video Call

    ReplyDelete
  17. It is impossible to know each subject well and know it perfectly well, therefore, in some subjects this site https://payforessay.net/ helps me, which performs any written work to order.

    ReplyDelete
  18. Quickbooks error 404 is a common error to occur in the Quickbooks system and can also be called by any of the following names:
    1. Quickbooks service messages update error 404
    2. QuickBooks update error #404
    3. Error 404 QuickBooks update
    4. Error 404 pages not found
    5. Intuit error 404.

    ReplyDelete
  19. Thank you for your responses. Are you interested in crypto trading?
    I have a website where I post reviews of the best telegram channels with best crypto signals. You can also find crypto wallets, crypto bots, audits, reviews and interesting articles here.

    ReplyDelete
  20. As soon as I noticed this internet site I went on reddit to share some of the love with them. 메이저안전놀이터

    ReplyDelete
  21. Nice article I agree with this.Your blog really nice. Its sound really good. | 카지노사이트

    ReplyDelete
  22. 슬롯머신777사이트
    I’ve a project that I am just now working on, and I have been on the look out for such information.

    ReplyDelete
  23. I simply want to tell you 파친코 that I am just beginner to blogs and certainly enjoyed you’re web page. Almost certainly I’m want to bookmark your site .

    ReplyDelete
  24. Actually Magnificent. I am also a specialist in this topic so I can understand your effort.

    Feel free to visit my website: 텍사스홀덤사이트

    ReplyDelete
  25. Many thank's for writing this great content.High quality writing like yours nowadays. 룰렛사이트탑

    ReplyDelete
  26. Aw, this was an extremely nice post. Taking a few minutes and actual effort to generate a top
    notch article.

    ReplyDelete
  27. I wonder why the other experts of this sector don’t notice this. You must continue your writing. I’m sure, you’ve a huge readers’ base already! want to learn more? click the link here:

    ReplyDelete
  28. That is a good tip especially to those new to the blogosphere. Brief but very accurate info… Many thanks for sharing this one. A must read article!

    ReplyDelete
  29. ExpertOption Uygulamasına aşina mısınız? expertoption kendisini finansal piyasalardaki en iyi ticaret gelişmelerini ve yüksek kaliteli hizmeti birleştiren bir platform olarak konumlandırıyor.

    ReplyDelete
  30. I will definitely recommend your website to everyone. You have a very good gloss. Write more high-quality articles. I support you.

    ReplyDelete
  31. Thanks for sharing your thoughts on dobry fryzjer.
    Regards

    ReplyDelete
  32. Nice post. I used to be checking continuously this weblog and I am inspired! Extremely useful information particularly the final phase :)

    ReplyDelete
  33. Thanks for sharing with us this important Content. I feel strongly about it and really enjoyed learning more about this topic.

    ReplyDelete
  34. Your texts on this subject are correct, see how I wrote this site is really very good.

    토토사이트
    온라인카지노
    파워볼사이트

    ReplyDelete
  35. Thanks a lot for keeping the great stuff. I am very much thankful for this site. Visit my site.

    사설토토
    온라인바카라
    파워볼
    카지노사이트

    ReplyDelete
  36. This is very appealing, however , it is very important that will mouse click on the connection:

    스포츠토토
    바카라사이트
    파워볼게임
    온라인카지노사이트

    ReplyDelete
  37. Thanks in support of sharing such a good thought, piece of writing is
    fastidious, thats why i have read it entirely

    Also visit my web page - 강남오피

    ReplyDelete
  38. 카지노사이트홈 Quality content is the crucial to interest the viewers to go to see the site, that’s what this website is providing.

    ReplyDelete
  39. Greetings! Very useful advice in this particular 안전카지노사이트
    article! It is the little changes that make the biggest changes.
    Thanks a lot for sharing!

    ReplyDelete
  40. 프로토 This article is truly a pleasant one it helps new web visitors, who are wishing for blogging.

    ReplyDelete
  41. 스포츠토토 Great post. I was checking constantly this blog and I’m impressed!Very useful information specifically the last part 🙂 I care for such info much. I was seeking this certain info for a very long time.Thank you and best of luck.My blog post

    ReplyDelete
  42. Youre so right. Im there with you. Your weblog is definitely worth a read if anyone comes throughout it. Im lucky I did because now Ive received a whole new view of this. 먹튀검증사이트

    ReplyDelete
  43. I’m really enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it much more pleasant for me to come
    here and visit more often. Did you hire out a developer to create your theme?
    Exceptional work!
    고스톱

    ReplyDelete
  44. Thank you for posting this awesome article. I’m a long time reader but I’ve never been compelled to leave a comment.
    I subscribed to your blog and shared this on my Facebook.
    Thanks again for a great article!
    스포츠토토

    ReplyDelete
  45. I am really glad to glance at this website posts which includes plenty of
    useful data, thanks for providing such information.
    한국야동

    ReplyDelete
  46. I am sure this post has touched all the internet users, its really really pleasant piece of writing on building up new webpage.
    토토사이트

    ReplyDelete