live migration failure with kvm_put_msr_feature_control: Assertion `ret == 1' failed

2021-09-19 Thread Jiatong Shen
Hello community, I am trying to understand an error message produced during live migration. The error message are produced when trying to do a live migration from a host which enabled nested kvm_intel to a host where nest virtualization has been disabled. The full error message is /build/qemu-

Re: How to bind a DHCP server to a bridge interface inside QEMU?

2021-09-19 Thread Supratim Sanyal
I just run pfsense in a virtualbox on the dual-nic box - in addition to standard router/firewall functions, I can play with enhanced security functions with much ease. Other solutions I have tried include free Sophos UTM-9 software appliance, zeroshell, m0n0wall, endian and family. Manually reim

How to bind a DHCP server to a bridge interface inside QEMU?

2021-09-19 Thread Charlie Turner
Hi, My goal is to have a virtual networking infrastructure, with one dual-NIC machine acting as a gateway. One of its NICs is connected to the private LAN, and provides a DHCP service, the other NIC is connected to the "upstream", and provides Internet service. I start by creating a bridge to conn

Re: high cpu usage in idle state

2021-09-19 Thread Philippe Mathieu-Daudé
On 9/19/21 20:06, Peter Maydell wrote: > On Sat, 18 Sept 2021 at 09:12, Ali Vatankhah wrote: >> then to check what instructions are executing I run this command: >> >> qemu-system-ppc64 -nographic -M ppce500 -cpu e5500 -kernel uImage >> -singlestep -d in_asm -D target_asm.log >> >> Obviously this

Re: high cpu usage in idle state

2021-09-19 Thread Peter Maydell
On Sat, 18 Sept 2021 at 09:12, Ali Vatankhah wrote: > then to check what instructions are executing I run this command: > > qemu-system-ppc64 -nographic -M ppce500 -cpu e5500 -kernel uImage -singlestep > -d in_asm -D target_asm.log > > Obviously this results in a Kernel panic, but the point is th

Re: Range of vcpu_index to plugin callbacks

2021-09-19 Thread Philippe Mathieu-Daudé
(Cc'ing qemu-devel@ mailing list since this is a development question). On 9/19/21 19:44, Robert Henry wrote: > What is the range of the values for vcpu_index given to callbacks, such as: > > typedef void (*qemu_plugin_vcpu_udata_cb_t)(unsigned int vcpu_index, > void *userdata); > > Empirically,

Range of vcpu_index to plugin callbacks

2021-09-19 Thread Robert Henry
What is the range of the values for vcpu_index given to callbacks, such as: typedef void (*qemu_plugin_vcpu_udata_cb_t)(unsigned int vcpu_index, void *userdata); Empirically, when QEMU is in system mode, the maximum vcpu_index is 1 less than the -smp cpus=$(NCPUS) value. Empirically, when QEMU i