kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 205801] New: ignore_msrs =Y and report_ignored_msrs = N not working
@ 2019-12-08 15:27 bugzilla-daemon
  2019-12-08 15:40 ` [Bug 205801] " bugzilla-daemon
  2022-03-23  5:19 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2019-12-08 15:27 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=205801

            Bug ID: 205801
           Summary: ignore_msrs =Y and report_ignored_msrs = N not working
           Product: Virtualization
           Version: unspecified
    Kernel Version: 5.0.15-1-pve (from proxmox)
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: harliff@gmail.com
        Regression: No

There is a VM (windows 2016) which constantly generating more than 10 messages
every second like this:
```
kvm [35691]: vcpu1, guest rIP: 0xfffff800c9fedbb3 kvm_set_msr_common:
MSR_IA32_DEBUGCTLMSR 0x1, nop
```

I can't prevent the VM from generating these MSRs due to proprietary software
running inside it (maybe its due to some kind of software protection, but I'm
not sure). So I wish to be able to disable this messages on KVM level or filter
messages from getting to the kernel ring buffer (shown by dmesg). 

I've tried to set kvm module parameters -- without success:
- echo Y > /sys/module/kvm/parameters/ignore_msrs
- echo N > /sys/module/kvm/parameters/report_ignored_msrs

Is it due to a bug or I'm misunderstanding whats these parameters should do?

May you suggest me a workaround (to prevent these messages from getting shown
on console/via dmesg/via journalctl -k)?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 205801] ignore_msrs =Y and report_ignored_msrs = N not working
  2019-12-08 15:27 [Bug 205801] New: ignore_msrs =Y and report_ignored_msrs = N not working bugzilla-daemon
@ 2019-12-08 15:40 ` bugzilla-daemon
  2022-03-23  5:19 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2019-12-08 15:40 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=205801

--- Comment #1 from Ilya Yakushin (harliff@gmail.com) ---
The VM runned as:

/usr/bin/kvm -id 302 -name <skipped> -chardev
socket,id=qmp,path=/var/run/qemu-server/302.qmp,server,nowait -mon
chardev=qmp,mode=control -chardev
socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5 -mon
chardev=qmp-event,mode=control -pidfile /var/run/qemu-server/302.pid -daemonize
-smbios type=1,uuid=9b793bd8-30b0-400d-8196-6264858d3300 -smp
1,sockets=1,cores=4,maxcpus=4 -device
kvm64-x86_64-cpu,id=cpu2,socket-id=0,core-id=1,thread-id=0 -device
kvm64-x86_64-cpu,id=cpu3,socket-id=0,core-id=2,thread-id=0 -device
kvm64-x86_64-cpu,id=cpu4,socket-id=0,core-id=3,thread-id=0 -nodefaults -boot
menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg
-vnc unix:/var/run/qemu-server/302.vnc,password -no-hpet -cpu
kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_synic,hv_stimer,hv_tlbflush,hv_ipi,enforce
-m size=1024,slots=255,maxmem=4194304M -object
memory-backend-ram,id=ram-node0,size=1024M -numa
node,nodeid=0,cpus=0-3,memdev=ram-node0 -object
memory-backend-ram,id=mem-dimm0,size=512M -device
pc-dimm,id=dimm0,memdev=mem-dimm0,node=0 -object
memory-backend-ram,id=mem-dimm1,size=512M -device
pc-dimm,id=dimm1,memdev=mem-dimm1,node=0 -object
memory-backend-ram,id=mem-dimm2,size=512M -device
pc-dimm,id=dimm2,memdev=mem-dimm2,node=0 -object
memory-backend-ram,id=mem-dimm3,size=512M -device
pc-dimm,id=dimm3,memdev=mem-dimm3,node=0 -object
memory-backend-ram,id=mem-dimm4,size=512M -device
pc-dimm,id=dimm4,memdev=mem-dimm4,node=0 -object
memory-backend-ram,id=mem-dimm5,size=512M -device
pc-dimm,id=dimm5,memdev=mem-dimm5,node=0 -object
memory-backend-ram,id=mem-dimm6,size=512M -device
pc-dimm,id=dimm6,memdev=mem-dimm6,node=0 -object
memory-backend-ram,id=mem-dimm7,size=512M -device
pc-dimm,id=dimm7,memdev=mem-dimm7,node=0 -object
memory-backend-ram,id=mem-dimm8,size=512M -device
pc-dimm,id=dimm8,memdev=mem-dimm8,node=0 -object
memory-backend-ram,id=mem-dimm9,size=512M -device
pc-dimm,id=dimm9,memdev=mem-dimm9,node=0 -object
memory-backend-ram,id=mem-dimm10,size=512M -device
pc-dimm,id=dimm10,memdev=mem-dimm10,node=0 -object
memory-backend-ram,id=mem-dimm11,size=512M -device
pc-dimm,id=dimm11,memdev=mem-dimm11,node=0 -object
memory-backend-ram,id=mem-dimm12,size=512M -device
pc-dimm,id=dimm12,memdev=mem-dimm12,node=0 -object
memory-backend-ram,id=mem-dimm13,size=512M -device
pc-dimm,id=dimm13,memdev=mem-dimm13,node=0 -object
memory-backend-ram,id=mem-dimm14,size=512M -device
pc-dimm,id=dimm14,memdev=mem-dimm14,node=0 -device
pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f -device
pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e -device
piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -device
usb-tablet,id=tablet,bus=uhci.0,port=1 -device VGA,id=vga,bus=pci.0,addr=0x2
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -iscsi
initiator-name=iqn.1993-08.org.debian:01:82e1b7bc30 -device
virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5 -drive
file=/dev/zvol/fastpool/vm/vm-302-disk-0,if=none,id=drive-scsi0,format=raw,cache=none,aio=native,detect-zeroes=on
-device
scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100
-netdev
type=tap,id=net0,ifname=tap302i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on
-device
virtio-net-pci,mac=F6:8B:2F:03:9F:2A,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300
-rtc driftfix=slew,base=localtime -machine type=pc -global
kvm-pit.lost_tick_policy=discard

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 205801] ignore_msrs =Y and report_ignored_msrs = N not working
  2019-12-08 15:27 [Bug 205801] New: ignore_msrs =Y and report_ignored_msrs = N not working bugzilla-daemon
  2019-12-08 15:40 ` [Bug 205801] " bugzilla-daemon
@ 2022-03-23  5:19 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2022-03-23  5:19 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=205801

mohdforever (mohdforever007@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mohdforever007@gmail.com

--- Comment #3 from mohdforever (mohdforever007@gmail.com) ---
echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-23  5:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-08 15:27 [Bug 205801] New: ignore_msrs =Y and report_ignored_msrs = N not working bugzilla-daemon
2019-12-08 15:40 ` [Bug 205801] " bugzilla-daemon
2022-03-23  5:19 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).