[Qemu-discuss] Installing QEMU from source causing error

2019-07-19 Thread Probir Roy
Hi, I am trying to run Qemu-4.0 installed from source code. When I run virt-manager to create a VM, I get the following error: ``` Unable to complete install: 'internal error: process exited while connecting to monitor: 2019-07-19T17:06:35.954242Z qemu-system-x86_64: -enable-kvm: unsupported

[Qemu-discuss] Preloading shared library with libVirt while running QEMU

2019-07-17 Thread Probir Roy
Hi, I am trying to preload two shared libraries while running Qemu using libvirt. To preload the shared libraries I have added an environment variable in the $domain.xml file with the following command: ``` virt-xml generic --edit --confirm --qemu-commandline

Re: [Qemu-discuss] Handling signal of Qemu thread

2018-08-20 Thread Probir Roy
> What exactly are you trying to do > with your new signal ? I am implementing PEBS (Intel's Precise-Event Based Sampling) virtualization, so that I can sample guest OS from host machine using Linux Perf. The PEBS device is configured from host's user space as perf event. I am registering a

[Qemu-discuss] Handling signal of Qemu thread

2018-08-16 Thread Probir Roy
I am registering a signal handler per Qemu thread (per VCPU) and expecting to handle it in that thread context. But I never receive the signal on the Qemu thread that is causing the event, rather the signal is sent to parent thread context. Can you please explain the reason behind this? I also see

[Qemu-discuss] Pinning guest page

2018-07-12 Thread Probir Roy
Was wondering, is there any way to pin a guest page using Qemu API? Regards, Probir

Re: [Qemu-discuss] IRQ per CPU

2018-07-04 Thread Probir Roy
> Does 'per CPU basis' indicates irq per cpu, or irq per device queue? IRQ per CPU core, meaning that IRQ will be raised at and served by that CPU. Does IRQ per queue mean the same thing?

[Qemu-discuss] IRQ per CPU

2018-07-04 Thread Probir Roy
I am writing a virtual device that would generate IRQ per CPU basis. I have written a PCI device from the template which does not generate IRQ per CPU. How can write such device in Qemu? The code of current device is here: https://gist.github.com/proywm/6ca98d3e8ca001965e2c8792fcf97911 Regards,