From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: //-//ani Nemati <hani.nemati@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Infinite IRQ injection when trying windows 10
Date: Thu, 20 Oct 2016 09:05:42 +0100 [thread overview]
Message-ID: <20161020080541.GA2039@work-vm> (raw)
In-Reply-To: <CA+VxTNRZ17DQ5xxYT=-55o9TZtqnDPxNSo0CXRYsPimAg8pmXA@mail.gmail.com>
* //-//ani Nemati (hani.nemati@gmail.com) wrote:
> /usr/bin/qemu-system-x86_64 -name win10 -S -machine
> pc-i440fx-2.6,accel=kvm,usb=off -cpu Haswell -m 2048 -realtime mlock=off
> -smp 2,sockets=2,cores=1,threads=1 -uuid
> 9b3b910d-f3d1-494e-9471-943fc511d994 -no-user-config -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/win10.monitor,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control -rtc
> base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=discard
> -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global
> PIIX4_PM.disable_s4=1 -boot strict=on -device
> ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device
> ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
> -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
> -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
> -drive
> file=/home/hani/external1/win10.img,if=none,id=drive-ide0-0-0,format=qcow2
> -device
> ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
> -netdev tap,fd=24,id=hostnet0 -device
> rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:6c:0a:a3,bus=pci.0,addr=0x3
> -chardev pty,id=charserial0 -device
> isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -vnc
> 127.0.0.1:0 -device VGA,id=video0,vgamem_mb=16,bus=pci.0,addr=0x2 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 -msg timestamp=on
>
> Qemu version: 2.5
> Linux kernel: 4.2
> CPU: Interl i7-4790 CPU @3.60GHz
> Memory: Kingston DDR3-1600 MHz, 32G
Thanks; try replacing the driftfix=slew by driftfix=none and see if it helps.
Dave
> On Wed, Oct 19, 2016 at 2:59 PM, Dr. David Alan Gilbert <dgilbert@redhat.com
> > wrote:
>
> > * //-//ani Nemati (hani.nemati@gmail.com) wrote:
> > > Hi,
> > >
> > > Recently I was trying windows 10 on top of Qemu-KVM and I saw 4% of CPU
> > is
> > > being used all the time even when the windows VM is idle. I tested it for
> > > nested VM (Linux(L0)->Linux(L1)->windows(L2)) and I saw CPU usage
> > increased
> > > upto 45%. I traced my host and I saw there is an infinite interrupt loop
> > > which injected by qemu main process to my windows VM. I also traced the
> > > windows machine and I saw System process is handling that interrupt. The
> > > main qemu process injects IRQ 209 periodically. I wonder if it is a
> > > bug!!!!!
> >
> > What's the qemu commandline you're using and what version of qemu?
> > Also, what host hardware?
> >
> > Dave
> >
> > > Cheers,
> > > Hani
> > --
> > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> >
>
>
>
> --
> <<<<<<< /-/ /\ /\/ / /\/ *E* /\/\ /\ *T* / >>>>>>>>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
prev parent reply other threads:[~2016-10-20 8:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-19 17:19 [Qemu-devel] Infinite IRQ injection when trying windows 10 //-//ani Nemati
2016-10-19 18:59 ` Dr. David Alan Gilbert
2016-10-19 19:08 ` //-//ani Nemati
2016-10-20 8:05 ` Dr. David Alan Gilbert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161020080541.GA2039@work-vm \
--to=dgilbert@redhat.com \
--cc=hani.nemati@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.