Re: [PATCH 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-08-06 Thread Vitaly Kuznetsov
"Michael S. Tsirkin" writes: > About the feature bit, I am not sure why it's really needed. A single > mmio access is cheaper than two io accesses anyway, right? So it makes > sense for a kvm guest whether host has this feature or not. > We need to be careful and limit to a specific QEMU implemen

Re: [PATCH 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-08-06 Thread Michael S. Tsirkin
On Thu, Aug 06, 2020 at 01:39:09PM +0200, Vitaly Kuznetsov wrote: > "Michael S. Tsirkin" writes: > > > About the feature bit, I am not sure why it's really needed. A single > > mmio access is cheaper than two io accesses anyway, right? So it makes > > sense for a kvm guest whether host has this f

Re: [PATCH 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-08-06 Thread Michael S. Tsirkin
On Thu, Aug 06, 2020 at 11:19:55AM +0200, Vitaly Kuznetsov wrote: > "Michael S. Tsirkin" writes: > > > On Tue, Jul 28, 2020 at 04:37:38PM +0200, Vitaly Kuznetsov wrote: > >> This is a continuation of "[PATCH RFC 0/5] KVM: x86: KVM_MEM_ALLONES > >> memory" work: > >> https://lore.kernel.org/kvm/2

Re: [PATCH 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-08-06 Thread Vitaly Kuznetsov
"Michael S. Tsirkin" writes: > On Tue, Jul 28, 2020 at 04:37:38PM +0200, Vitaly Kuznetsov wrote: >> This is a continuation of "[PATCH RFC 0/5] KVM: x86: KVM_MEM_ALLONES >> memory" work: >> https://lore.kernel.org/kvm/20200514180540.52407-1-vkuzn...@redhat.com/ >> and pairs with Julia's "x86/PCI:

Re: [PATCH 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-08-05 Thread Michael S. Tsirkin
On Tue, Jul 28, 2020 at 04:37:38PM +0200, Vitaly Kuznetsov wrote: > This is a continuation of "[PATCH RFC 0/5] KVM: x86: KVM_MEM_ALLONES > memory" work: > https://lore.kernel.org/kvm/20200514180540.52407-1-vkuzn...@redhat.com/ > and pairs with Julia's "x86/PCI: Use MMCONFIG by default for KVM gues

[PATCH 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-07-28 Thread Vitaly Kuznetsov
This is a continuation of "[PATCH RFC 0/5] KVM: x86: KVM_MEM_ALLONES memory" work: https://lore.kernel.org/kvm/20200514180540.52407-1-vkuzn...@redhat.com/ and pairs with Julia's "x86/PCI: Use MMCONFIG by default for KVM guests": https://lore.kernel.org/linux-pci/20200722001513.298315-1-jus...@redh