Displaying 20 results from an estimated 327 matches for "get_config".
Did you mean:
net_config
2015 Mar 02
3
virtio balloon: do not call blocking ops when !TASK_RUNNING
...; Hi all,
> > > >> >
> > > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > > >> > KVM guest on s390 with virtio balloon enabled:
> > > >>
> > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > >> OOM.
> > > >>
> > > >> Neither get_config nor set_config are expected to fail.
> > > >
> > > > AFAIK this is currently not a problem. According to
> > > > http://lwn.net/Articles/627419...
2015 Mar 02
3
virtio balloon: do not call blocking ops when !TASK_RUNNING
...; Hi all,
> > > >> >
> > > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > > >> > KVM guest on s390 with virtio balloon enabled:
> > > >>
> > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > >> OOM.
> > > >>
> > > >> Neither get_config nor set_config are expected to fail.
> > > >
> > > > AFAIK this is currently not a problem. According to
> > > > http://lwn.net/Articles/627419...
2015 Mar 02
4
virtio balloon: do not call blocking ops when !TASK_RUNNING
...t linux.vnet.ibm.com> writes:
> >> > Hi all,
> >> >
> >> > with the recent kernel 3.19, I get a kernel warning when I start my
> >> > KVM guest on s390 with virtio balloon enabled:
> >>
> >> The deeper problem is that virtio_ccw_get_config just silently fails on
> >> OOM.
> >>
> >> Neither get_config nor set_config are expected to fail.
> >
> > AFAIK this is currently not a problem. According to
> > http://lwn.net/Articles/627419/ these kmalloc calls never
> > fail because they allo...
2015 Mar 02
4
virtio balloon: do not call blocking ops when !TASK_RUNNING
...t linux.vnet.ibm.com> writes:
> >> > Hi all,
> >> >
> >> > with the recent kernel 3.19, I get a kernel warning when I start my
> >> > KVM guest on s390 with virtio balloon enabled:
> >>
> >> The deeper problem is that virtio_ccw_get_config just silently fails on
> >> OOM.
> >>
> >> Neither get_config nor set_config are expected to fail.
> >
> > AFAIK this is currently not a problem. According to
> > http://lwn.net/Articles/627419/ these kmalloc calls never
> > fail because they allo...
2015 Mar 02
2
virtio balloon: do not call blocking ops when !TASK_RUNNING
...> > > > > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > > > > >> > KVM guest on s390 with virtio balloon enabled:
> > > > > >>
> > > > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > > > >> OOM.
> > > > > >>
> > > > > >> Neither get_config nor set_config are expected to fail.
> > > > > >
> > > > > > AFAIK this is currently not a problem. According to...
2015 Mar 02
2
virtio balloon: do not call blocking ops when !TASK_RUNNING
...> > > > > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > > > > >> > KVM guest on s390 with virtio balloon enabled:
> > > > > >>
> > > > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > > > >> OOM.
> > > > > >>
> > > > > >> Neither get_config nor set_config are expected to fail.
> > > > > >
> > > > > > AFAIK this is currently not a problem. According to...
2015 Feb 26
2
virtio balloon: do not call blocking ops when !TASK_RUNNING
...stcorp.com.au> wrote:
> Thomas Huth <thuth at linux.vnet.ibm.com> writes:
> > Hi all,
> >
> > with the recent kernel 3.19, I get a kernel warning when I start my
> > KVM guest on s390 with virtio balloon enabled:
>
> The deeper problem is that virtio_ccw_get_config just silently fails on
> OOM.
>
> Neither get_config nor set_config are expected to fail.
AFAIK this is currently not a problem. According to
http://lwn.net/Articles/627419/ these kmalloc calls never
fail because they allocate less than a page.
Thomas
2015 Feb 26
2
virtio balloon: do not call blocking ops when !TASK_RUNNING
...stcorp.com.au> wrote:
> Thomas Huth <thuth at linux.vnet.ibm.com> writes:
> > Hi all,
> >
> > with the recent kernel 3.19, I get a kernel warning when I start my
> > KVM guest on s390 with virtio balloon enabled:
>
> The deeper problem is that virtio_ccw_get_config just silently fails on
> OOM.
>
> Neither get_config nor set_config are expected to fail.
AFAIK this is currently not a problem. According to
http://lwn.net/Articles/627419/ these kmalloc calls never
fail because they allocate less than a page.
Thomas
2020 Aug 10
0
[PATCH] vdpa_sim: fix pointer math in get_config
...sim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim.c b/drivers/vdpa/vdpa_sim/vdpa_sim.c
index 604d9d25ca47..62d640327145 100644
--- a/drivers/vdpa/vdpa_sim/vdpa_sim.c
+++ b/drivers/vdpa/vdpa_sim/vdpa_sim.c
@@ -558,7 +558,7 @@ static void vdpasim_get_config(struct vdpa_device *vdpa, unsigned int offset,
struct vdpasim *vdpasim = vdpa_to_sim(vdpa);
if (offset + len < sizeof(struct virtio_net_config))
- memcpy(buf, &vdpasim->config + offset, len);
+ memcpy(buf, (u8 *)&vdpasim->config + offset, len);
}
static void vdpasim_set...
2015 Mar 02
0
virtio balloon: do not call blocking ops when !TASK_RUNNING
...> >> >
> > > > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > > > >> > KVM guest on s390 with virtio balloon enabled:
> > > > >>
> > > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > > >> OOM.
> > > > >>
> > > > >> Neither get_config nor set_config are expected to fail.
> > > > >
> > > > > AFAIK this is currently not a problem. According to
> > > > >...
2015 Mar 02
0
virtio balloon: do not call blocking ops when !TASK_RUNNING
...> >> >
> > > > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > > > >> > KVM guest on s390 with virtio balloon enabled:
> > > > >>
> > > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > > >> OOM.
> > > > >>
> > > > >> Neither get_config nor set_config are expected to fail.
> > > > >
> > > > > AFAIK this is currently not a problem. According to
> > > > >...
2015 Mar 04
2
virtio balloon: do not call blocking ops when !TASK_RUNNING
...; > Hi all,
> >> >> >
> >> >> > with the recent kernel 3.19, I get a kernel warning when I start my
> >> >> > KVM guest on s390 with virtio balloon enabled:
> >> >>
> >> >> The deeper problem is that virtio_ccw_get_config just silently fails on
> >> >> OOM.
> >> >>
> >> >> Neither get_config nor set_config are expected to fail.
> >> >
> >> > AFAIK this is currently not a problem. According to
> >> > http://lwn.net/Articles/627419/ thes...
2015 Mar 04
2
virtio balloon: do not call blocking ops when !TASK_RUNNING
...; > Hi all,
> >> >> >
> >> >> > with the recent kernel 3.19, I get a kernel warning when I start my
> >> >> > KVM guest on s390 with virtio balloon enabled:
> >> >>
> >> >> The deeper problem is that virtio_ccw_get_config just silently fails on
> >> >> OOM.
> >> >>
> >> >> Neither get_config nor set_config are expected to fail.
> >> >
> >> > AFAIK this is currently not a problem. According to
> >> > http://lwn.net/Articles/627419/ thes...
2015 Mar 02
0
virtio balloon: do not call blocking ops when !TASK_RUNNING
...> > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > > > > > >> > KVM guest on s390 with virtio balloon enabled:
> > > > > > >>
> > > > > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > > > > >> OOM.
> > > > > > >>
> > > > > > >> Neither get_config nor set_config are expected to fail.
> > > > > > >
> > > > > > > AFAIK this is currently not...
2015 Mar 02
0
virtio balloon: do not call blocking ops when !TASK_RUNNING
...> > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > > > > > >> > KVM guest on s390 with virtio balloon enabled:
> > > > > > >>
> > > > > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > > > > >> OOM.
> > > > > > >>
> > > > > > >> Neither get_config nor set_config are expected to fail.
> > > > > > >
> > > > > > > AFAIK this is currently not...
2015 Mar 02
0
virtio balloon: do not call blocking ops when !TASK_RUNNING
...s:
> > >> > Hi all,
> > >> >
> > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > >> > KVM guest on s390 with virtio balloon enabled:
> > >>
> > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > >> OOM.
> > >>
> > >> Neither get_config nor set_config are expected to fail.
> > >
> > > AFAIK this is currently not a problem. According to
> > > http://lwn.net/Articles/627419/ these kmalloc calls never
&g...
2015 Mar 02
0
virtio balloon: do not call blocking ops when !TASK_RUNNING
...s:
> > >> > Hi all,
> > >> >
> > >> > with the recent kernel 3.19, I get a kernel warning when I start my
> > >> > KVM guest on s390 with virtio balloon enabled:
> > >>
> > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > >> OOM.
> > >>
> > >> Neither get_config nor set_config are expected to fail.
> > >
> > > AFAIK this is currently not a problem. According to
> > > http://lwn.net/Articles/627419/ these kmalloc calls never
&g...
2015 Mar 02
1
virtio balloon: do not call blocking ops when !TASK_RUNNING
...gt; > with the recent kernel 3.19, I get a kernel warning when I start my
> > > > > > > >> > KVM guest on s390 with virtio balloon enabled:
> > > > > > > >>
> > > > > > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > > > > > >> OOM.
> > > > > > > >>
> > > > > > > >> Neither get_config nor set_config are expected to fail.
> > > > > > > >
> > > > > > > > AF...
2015 Mar 02
1
virtio balloon: do not call blocking ops when !TASK_RUNNING
...gt; > with the recent kernel 3.19, I get a kernel warning when I start my
> > > > > > > >> > KVM guest on s390 with virtio balloon enabled:
> > > > > > > >>
> > > > > > > >> The deeper problem is that virtio_ccw_get_config just silently fails on
> > > > > > > >> OOM.
> > > > > > > >>
> > > > > > > >> Neither get_config nor set_config are expected to fail.
> > > > > > > >
> > > > > > > > AF...
2015 Nov 18
2
[RFC] kvmtool: add support for modern virtio-pci
...16 virt_queue__get_inout_iov(struct kvm *kvm, struct virt_queue *queue,
int virtio__get_dev_specific_field(int offset, bool msix, u32 *config_off);
enum virtio_trans {
+ VIRTIO_PCI_MODERN,
VIRTIO_PCI,
VIRTIO_MMIO,
};
@@ -138,8 +142,8 @@ struct virtio_device {
struct virtio_ops {
u8 *(*get_config)(struct kvm *kvm, void *dev);
- u32 (*get_host_features)(struct kvm *kvm, void *dev);
- void (*set_guest_features)(struct kvm *kvm, void *dev, u32 features);
+ u32 (*get_host_features)(struct kvm *kvm, void *dev, int sel);
+ void (*set_guest_features)(struct kvm *kvm, void *dev, u32 features, int s...