[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Blue screen error on windows server 2008 and 2012

From: John Y.
Subject: [Qemu-discuss] Blue screen error on windows server 2008 and 2012
Date: Sun, 9 Oct 2016 09:21:00 +0800

I have two hosts.

Host A:  
Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz
10 cores and 2 thread per cpu.

Host B:
Intel(R) Xeon(R) CPU  L5520  @ 2.27GHz
4 cores and 2 thread per cpu.

In host B, I run a windows 2012 vm , double click a exe file inside vm and I got a blue screen error.


I use the same image to create a vm in host A, I can open the exe file inside vm and everything is ok.

I had try:
1. use "<cpu mode="host-model"/>" instead of "<cpu mode="host-passthrough"/> "
2. use qemu2.5 instead of /usr/libexec/qemu-kvm(1.5.3)

Any idea?

Host :
Linux hostA 4.2.0-1.el7.elrepo.x86_64

#virsh version
Compiled against library: libvirt 1.2.8
Using library: libvirt 1.2.8
Using API: QEMU 1.2.8
Running hypervisor: QEMU 1.5.3

#cat libvirl.xml

<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">  
    <boot dev="hd"/> 
  <clock offset="localtime"/>  
  <vcpu current="2">2</vcpu>  
  <cpu mode="host-passthrough"/>  
    <disk device="disk" type="file"> 
      <driver name="qemu" type="qcow2" cache="none"/>  
      <source file="/home/test.qcow2"/>  
      <target bus="virtio" dev="vda"/> 
    <disk type="file" device="cdrom"> 
      <source dev=""/>  
      <target dev="hdc" bus="ide"/> 
    <serial type="pty"> 
      <source path="/dev/pts/1"/>  
      <target port="0"/> 
    <input type="tablet" bus="usb"/>  
    <input type="mouse" bus="ps2"/>  
    <graphics type="vnc" port="-1" autoport="yes" keymap="en-us" listen=""/>  
    <channel type="unix">
      <source mode="bind" path="/var/lib/libvirt/qemu/test.org.qemu.guest_agent.0"/>
      <target type="virtio" name="org.qemu.guest_agent.0"/>

# qemu-img info /home/test.qcow2
image: /home/test.qcow2
file format: qcow2
virtual size: 50G (53687091200 bytes)
disk size: 0
cluster_size: 65536
backing file: /home/windows2012.raw
Format specific information:
    compat: 1.1
    lazy refcounts: false


reply via email to

[Prev in Thread] Current Thread [Next in Thread]