Re: Recording and replaying HPET timer values

2021-05-20 Thread Pavel Dovgalyuk
On 21.05.2021 05:15, Arnabjyoti Kalita wrote: Thank you for your reply, Pavel. Yes, I understand. Interrupts might be injected at different times and this would be a source of indeterminism. But, let's say that I know when to inject the interrupts. Is this enough to ensure that the replay of th

Re: Recording and replaying HPET timer values

2021-05-20 Thread Arnabjyoti Kalita
Thank you for your reply, Pavel. Yes, I understand. Interrupts might be injected at different times and this would be a source of indeterminism. But, let's say that I know when to inject the interrupts. Is this enough to ensure that the replay of the HPET clocks would be deterministic? Do you see

Obscure error when adding second vhost-scsi-pci device to VM

2021-05-20 Thread George Diamantopoulos
Hello all, I'm getting the following errors when adding a second vhost-scsi-pci device to a previously functioning VM: kvm: Error setting vhost-scsi endpoint kvm: unable to start vhost-scsi: File exists The relevant configuration (after adding the second device) is: -device vhost-scsi-pci,bus=pci.

Re: Obscure error when adding second vhost-scsi-pci device to VM

2021-05-20 Thread George Diamantopoulos
Never mind, I supplied the wrong wwpn for the new device... :-\ On Thu, 20 May 2021 at 18:10, George Diamantopoulos wrote: > Hello all, > > I'm getting the following errors when adding a second vhost-scsi-pci > device to a previously functioning VM: > kvm: Error setting vhost-scsi endpoint > kvm

Re: how to include out of tree source during the qemu build?

2021-05-20 Thread Peter Maydell
On Thu, 20 May 2021 at 06:11, wrote: > I’m trying to include a out-of-tree source in a peripheral model and want to > connect to a .so file during qemu operation. > > (This .so files was made by my colleague and contains the behaviors of a > peripheral. > > I want to place the codes needed to li