Discussion of the implementations of VIRTIO specification
 help / color / mirror / Atom feed
* [virtio-dev] KVM_SET_USER_MEMORY_REGION after VM has booted?
@ 2022-10-14  4:44 Srivatsa Vaddagiri
  2022-10-14  5:14 ` Srivatsa Vaddagiri
  2022-10-14 12:30 ` Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Srivatsa Vaddagiri @ 2022-10-14  4:44 UTC (permalink / raw)
  To: virtio-dev

I have been checking in what scenario we may see KVM_SET_USER_MEMORY_REGION being
invoked to modify memory mapping (add or remove region of memory from VM)
*after* VM has booted. Memory hotplug may be one? Any other scenario?

Thanks
vatsa



---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


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

* Re: [virtio-dev] KVM_SET_USER_MEMORY_REGION after VM has booted?
  2022-10-14  4:44 [virtio-dev] KVM_SET_USER_MEMORY_REGION after VM has booted? Srivatsa Vaddagiri
@ 2022-10-14  5:14 ` Srivatsa Vaddagiri
  2022-10-14 12:30 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Srivatsa Vaddagiri @ 2022-10-14  5:14 UTC (permalink / raw)
  To: virtio-dev

* Srivatsa Vaddagiri <quic_svaddagi@quicinc.com> [2022-10-14 10:14:08]:

> I have been checking in what scenario we may see KVM_SET_USER_MEMORY_REGION being
> invoked to modify memory mapping (add or remove region of memory from VM)
> *after* VM has booted. Memory hotplug may be one? Any other scenario?

I think virtio-fs (DAX) could be another example?

---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


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

* Re: [virtio-dev] KVM_SET_USER_MEMORY_REGION after VM has booted?
  2022-10-14  4:44 [virtio-dev] KVM_SET_USER_MEMORY_REGION after VM has booted? Srivatsa Vaddagiri
  2022-10-14  5:14 ` Srivatsa Vaddagiri
@ 2022-10-14 12:30 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2022-10-14 12:30 UTC (permalink / raw)
  To: Srivatsa Vaddagiri; +Cc: virtio-dev

On Fri, Oct 14, 2022 at 6:44 AM Srivatsa Vaddagiri
<quic_svaddagi@quicinc.com> wrote:
> I have been checking in what scenario we may see KVM_SET_USER_MEMORY_REGION being
> invoked to modify memory mapping (add or remove region of memory from VM)
> *after* VM has booted. Memory hotplug may be one? Any other scenario?

Turning ROM BARs on and off, and PCI hotplug of passthrough devices
(because BARs are backed by host physical addresses).

Paolo


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


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

end of thread, other threads:[~2022-10-14 12:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-14  4:44 [virtio-dev] KVM_SET_USER_MEMORY_REGION after VM has booted? Srivatsa Vaddagiri
2022-10-14  5:14 ` Srivatsa Vaddagiri
2022-10-14 12:30 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox