ユーザ用ツール

サイト用ツール


kvmでqemuパラメータ

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
kvmでqemuパラメータ [2014/02/26 23:38] – 作成 nabezokvmでqemuパラメータ [2019/06/30 12:22] (現在) – 外部編集 127.0.0.1
行 1: 行 1:
 +====== リンク ======
 +
 http://forums.mydigitallife.info/threads/33723-Crafting-an-SLIC-BIOS-for-Linux-KVM-Guests http://forums.mydigitallife.info/threads/33723-Crafting-an-SLIC-BIOS-for-Linux-KVM-Guests
 +http://forums.mydigitallife.info/threads/12401-Modified-Bios-for-KVM-Qemu-Bochs-Bios/page4?p=710662&viewfull=1#post710662
  
-   Environment+====== 内容 ======
  
-       KVM Host +===== Environment ===== 
-       Windows 7 Virtual Machine +       
 +   *KVM Host 
 +   *Windows 7 Virtual Machine 
  
-   Solution+===== Solution ===== 
 +   
    * First, check out the SLIC patch for the Seabios:    * First, check out the SLIC patch for the Seabios:
    Code:    Code:
- 
    # cd /usr/src    # cd /usr/src
    # git clone git://github.com/ghuntley/seaslic    # git clone git://github.com/ghuntley/seaslic
  
-   Now, download, unpack and put in the right place seaBIOS 0.6.1:+Now, download, unpack and put in the right place seaBIOS 0.6.1:
    Code:    Code:
 +   # wget -O seabios.zip code.coreboot.org/p/seabios/source/download/0.6.1-stable/
 +   # unzip seabios.zip
 +   # rmdir seaslic/seabios.submodule
 +   # mv seabios-0.6.1-stable seaslic/seabios.submodule
  
-     # wget -O seabios.zip code.coreboot.org/p/seabios/source/download/0.6.1-stable/ + Now, we will import your activation table and build an SeaBIOS containing this table.
-     # unzip seabios.zip +
-     # rmdir seaslic/seabios.submodule +
-     # mv seabios-0.6.1-stable seaslic/seabios.submodule+
  
-   Now, we will import your activation table and build an SeaBIOS containing this table. +NOTICE: If your host system don't have an COA (Certificate of Authenticity) and, thus, an eligible license for your target Windows 7 install, you can download an SLIC blob (pick the correct one from the post "Default Win 7 & Server 08 R2 SLIC 2.1 Bin Collection", edit patch.sh and make the matching OEM BIN file as source for the SLIC table instead of the system ACPI firmware table.
- +
-   NOTICE: If your host system don't have an COA (Certificate of Authenticity) and, thus, an eligible license for your target Windows 7 install, you can download an SLIC blob (pick the correct one from the post "Default Win 7 & Server 08 R2 SLIC 2.1 Bin Collection", edit patch.sh and make the matching OEM BIN file as source for the SLIC table instead of the system ACPI firmware table.+
  
    Code:    Code:
 +   # cd seaslic
 +   # ./patch.sh
  
-     # cd seaslic 
-     # ./patch.sh 
  
-   Your patched BIOS is now located at /usr/src/seabios.submodule/out/bios.bin+Your patched BIOS is now located at /usr/src/seabios.submodule/out/bios.bin
  
-   Now, it's time to make libvirt boot your VM using your new BIOS:+Now, it's time to make libvirt boot your VM using your new BIOS:
  
    Code:    Code:
 +    # virsh edit <VM Name>
  
-     # virsh edit <VM Name> +In the first line, where reads:
- +
-   In the first line, where reads:+
  
    Code:    Code:
- 
      <domain type='kvm'>      <domain type='kvm'>
  
-   Change it to:+Change it to:
  
    Code:    Code:
 +     <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  
-     <domain type='kvm' xmlns:qemu='ttp://libvirt.org/schemas/domain/qemu/1.0'>+NOTICE. There's missing the "h" from "http" in the schema abovePut http. The H is missing, because the forum prevents me for pasting links with less than 20 posts. Oh, well.
  
-   NOTICE. There's missing the "h" from "http" in the schema above. Put http. The H is missing, because the forum prevents me for pasting links with less than 20 posts. Oh, well. +Go to the bottom of your file. Right after the </devices> section, add the block:
- +
-   Go to the bottom of your file. Right after the </devices> section, add the block:+
  
    Code:    Code:
- 
       <qemu:commandline>       <qemu:commandline>
        <qemu:arg value='-bios'/>        <qemu:arg value='-bios'/>
行 61: 行 61:
       </qemu:commandline>       </qemu:commandline>
  
-   Save and close your XML file.+Save and close your XML file.
  
-   Run your VM.+Run your VM.
  
-   When your Install reach the part where ask for your product key, please pick a key that matches your system's hardware vendor (i.e.: Dell, HP, IBM, etc.) and Windows Version that's on your stick (Windows 7 Standard, Ultimate, etc.) from post "Windows 7 OEM SLP Key Collection". If you don't get a perfect system match (i.e.: Dell & Windows 7 Ultimate), I've heard that they don't need to match exactly. So grab any SLP key for Datacenter Edition and you'll be fine. However, for Windows 7 it is required to be an perfect match. +When your Install reach the part where ask for your product key, please pick a key that matches your system's hardware vendor (i.e.: Dell, HP, IBM, etc.) and Windows Version that's on your stick (Windows 7 Standard, Ultimate, etc.) from post "Windows 7 OEM SLP Key Collection". If you don't get a perfect system match (i.e.: Dell & Windows 7 Ultimate), I've heard that they don't need to match exactly. So grab any SLP key for Datacenter Edition and you'll be fine. However, for Windows 7 it is required to be an perfect match. 
-   Finish your Windows Install.+Finish your Windows Install.
  
-   After Windows is installed, download an certificate collection from "The Official Windows 7 Repository", item F-A, Mirror 2. +After Windows is installed, download an certificate collection from "The Official Windows 7 Repository", item F-A, Mirror 2. 
-   Unzip it and extract to your Desktop the Certificate that matches your hardware OEM. +Unzip it and extract to your Desktop the Certificate that matches your hardware OEM. 
-   Now we will install your certifcate. Open cmd and import your certificate. For example, for an Dell system:+Now we will install your certifcate. Open cmd and import your certificate. For example, for an Dell system:
  
    Code:    Code:
 +   C:\Users\Administrator> cd Desktop
 +   C:\Users\Administrator> slmgr -ilc DELL.xrm-ms
  
-      C:\Users\Administrator> cd Desktop +Restart your system and that's all! Now you have an active system.  
- +Last edited by Katia Mercaro; 01 May 2012 at 06:14. Reason: adding the slic binary source 
-     C:\Users\Administrator> slmgr -ilc DELL.xrm-ms +   
- +
-   Restart your system and that's all! Now you have an active system.  +
- +
-   Last edited by Katia Mercaro; 01 May 2012 at 06:14. Reason: adding the slic binary source+
kvmでqemuパラメータ.1393425507.txt.gz · 最終更新: 2019/06/30 12:22 (外部編集)