search for: hyperviser

Displaying 20 results from an estimated 29 matches for "hyperviser".

2014 Nov 19
3
[PATCH V2 net] virtio-net: validate features during probe
...unsigned int *table, + int table_size, + unsigned int feature) +{ + int i; + + if (!virtio_has_feature(dev, feature)) { + for (i = 0; i < table_size; i++) { + unsigned int f = table[i]; + + if (virtio_has_feature(dev, f)) { + dev_err(&dev->dev, + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", + f, feature); + return -EINVAL; + } + } + } + + return 0; +} + +static int virtnet_check_features(struct virtio_device *dev) +{ + unsigned int features_for_ctrl_vq[] = { + VIRTIO_NET_F_CTRL_RX, + VIRTIO_NET_F_CTRL_VLAN...
2014 Nov 19
3
[PATCH V2 net] virtio-net: validate features during probe
...unsigned int *table, + int table_size, + unsigned int feature) +{ + int i; + + if (!virtio_has_feature(dev, feature)) { + for (i = 0; i < table_size; i++) { + unsigned int f = table[i]; + + if (virtio_has_feature(dev, f)) { + dev_err(&dev->dev, + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", + f, feature); + return -EINVAL; + } + } + } + + return 0; +} + +static int virtnet_check_features(struct virtio_device *dev) +{ + unsigned int features_for_ctrl_vq[] = { + VIRTIO_NET_F_CTRL_RX, + VIRTIO_NET_F_CTRL_VLAN...
2014 Nov 19
4
[PATCH net] virtio-net: validate features during probe
...unsigned int *table, + int table_size, + unsigned int feature) +{ + int i; + + if (!virtio_has_feature(dev, feature)) { + for (i = 0; i < table_size; i++) { + unsigned int f = table[i]; + + if (virtio_has_feature(dev, f)) { + dev_err(&dev->dev, + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", + f, feature); + return -EINVAL; + } + } + } + + return 0; +} + +static int virtnet_check_features(struct virtio_device *dev) +{ + unsigned int features_for_ctrl_vq[] = { + VIRTIO_NET_F_CTRL_RX, + VIRTIO_NET_F_CTRL_VLAN...
2014 Nov 19
4
[PATCH net] virtio-net: validate features during probe
...unsigned int *table, + int table_size, + unsigned int feature) +{ + int i; + + if (!virtio_has_feature(dev, feature)) { + for (i = 0; i < table_size; i++) { + unsigned int f = table[i]; + + if (virtio_has_feature(dev, f)) { + dev_err(&dev->dev, + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", + f, feature); + return -EINVAL; + } + } + } + + return 0; +} + +static int virtnet_check_features(struct virtio_device *dev) +{ + unsigned int features_for_ctrl_vq[] = { + VIRTIO_NET_F_CTRL_RX, + VIRTIO_NET_F_CTRL_VLAN...
2014 Nov 19
0
[PATCH V2 net] virtio-net: validate features during probe
...t; + > + if (!virtio_has_feature(dev, feature)) { Do an early return, get rid of one indentation level? > + for (i = 0; i < table_size; i++) { > + unsigned int f = table[i]; > + > + if (virtio_has_feature(dev, f)) { > + dev_err(&dev->dev, > + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", s/hyperviser/hypervisor/ (also below) > + f, feature); > + return -EINVAL; > + } > + } > + } > + > + return 0; > +} > + > +static int virtnet_check_features(struct virtio_device *dev) >...
2014 Nov 19
1
[PATCH V2 net] virtio-net: validate features during probe
...re)) { > Do an early return, get rid of one indentation level? This sounds good. >> + for (i = 0; i < table_size; i++) { >> + unsigned int f = table[i]; >> + >> + if (virtio_has_feature(dev, f)) { >> + dev_err(&dev->dev, >> + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", > s/hyperviser/hypervisor/ (also below) Yes, thanks for the catching. > >> + f, feature); >> + return -EINVAL; >> + } >> + } >> + } >> + >> + return 0; >> +} >>...
2014 Nov 19
1
[PATCH V2 net] virtio-net: validate features during probe
...re)) { > Do an early return, get rid of one indentation level? This sounds good. >> + for (i = 0; i < table_size; i++) { >> + unsigned int f = table[i]; >> + >> + if (virtio_has_feature(dev, f)) { >> + dev_err(&dev->dev, >> + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", > s/hyperviser/hypervisor/ (also below) Yes, thanks for the catching. > >> + f, feature); >> + return -EINVAL; >> + } >> + } >> + } >> + >> + return 0; >> +} >>...
2014 Nov 19
2
[PATCH net] virtio-net: validate features during probe
...+{ >> + int i; >> + >> + if (!virtio_has_feature(dev, feature)) { >> + for (i = 0; i < table_size; i++) { >> + unsigned int f = table[i]; >> + >> + if (virtio_has_feature(dev, f)) { >> + dev_err(&dev->dev, >> + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", > > This line's way too long. Yes. (Anyway it pass checkpatch.pl since it forbids quoted string to be split) > >> + f, feature); >> + return -EINVAL; >> + } >> + } >> + } >&g...
2014 Nov 19
2
[PATCH net] virtio-net: validate features during probe
...+{ >> + int i; >> + >> + if (!virtio_has_feature(dev, feature)) { >> + for (i = 0; i < table_size; i++) { >> + unsigned int f = table[i]; >> + >> + if (virtio_has_feature(dev, f)) { >> + dev_err(&dev->dev, >> + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", > > This line's way too long. Yes. (Anyway it pass checkpatch.pl since it forbids quoted string to be split) > >> + f, feature); >> + return -EINVAL; >> + } >> + } >> + } >&g...
2014 Nov 19
0
[PATCH net] virtio-net: validate features during probe
...+ unsigned int feature) > +{ > + int i; > + > + if (!virtio_has_feature(dev, feature)) { > + for (i = 0; i < table_size; i++) { > + unsigned int f = table[i]; > + > + if (virtio_has_feature(dev, f)) { > + dev_err(&dev->dev, > + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", This line's way too long. > + f, feature); > + return -EINVAL; > + } > + } > + } > + > + return 0; > +} > + > +static int virtnet_check_features(struct virtio_device *dev) > +{ >...
2014 Nov 19
0
[PATCH net] virtio-net: validate features during probe
...t; >> + if (!virtio_has_feature(dev, feature)) { > >> + for (i = 0; i < table_size; i++) { > >> + unsigned int f = table[i]; > >> + > >> + if (virtio_has_feature(dev, f)) { > >> + dev_err(&dev->dev, > >> + "buggy hyperviser: feature 0x%x was advertised but its dependency 0x%x was not", > > > > This line's way too long. > > Yes. (Anyway it pass checkpatch.pl since it forbids quoted string to be > split) > > > >> + f, feature); > >> + return -EINVAL; > &gt...
2012 Apr 16
1
What's the precision of the domain cpu stats?
Hi, everyone I'm using libvirt and resort to virDomainGetCPUStats for cpu usage by one domain. In my system, Ubuntu-11.10 64bit with 2 cores and Qemu Hyperviser, this function returns something like this: virTypedParameter[0] { field: "cpu_time" type: 4 value.ul 51640610899 } virTypedParameter[1] { field: "cpu_time" type: 4 value.ul 5...
2011 Jul 11
3
can we export vdi ?
hi is it possible to export vdi just as we export vm if yes then how to export it using HTTP? thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2019 Jan 05
1
Re: xen and libvirt
...th high IO load like an file server I need to set max_grant_frames = 64 or higher. Without this I get a lot of messages on dom0/domU and kernel exceptions. I've read it should be ok to set it = 256 on all domU's (somewhere on SuSE pages), so if there is a possibility to set it global on hyperviser, this could be a solution for me. With xl.conf it is possible but libvirt doesnt look there for the settings. I've tried to set it in libxl.conf, but this doesnt work to. Am 2019-01-04 18:42, schrieb Jim Fehlig: > On 1/4/19 9:14 AM, Christoph wrote: >> Hi >> >> Does some...
2013 Dec 11
1
XenProject.org Q&A: Running xen to create PV hosts under KVM with virtio
The following question was posed by Simon Easter on the XenProject.org Q&A area. Please reply to me so I can post your answers to the site or, if you feel so inclined, answer yourself on the website: I have a need to run very low weight PV debian guests under a kvm hypervised guest .(i.e. split a vm using pv - the reasons are varied but essentially each host has to have it''s own
2014 Nov 17
1
[PATCH V3 2/2] virtio-net: sanitize buggy features advertised by host
...int i; + + if (!virtio_has_feature(dev, VIRTIO_NET_F_CTRL_VQ)) { + for (i = 0; i < ARRAY_SIZE(features_for_ctrl_vq); i++) { + unsigned int f = features_for_ctrl_vq[i]; + if (virtio_has_feature(dev, f)) { + virtio_disable_feature(dev, f); + dev_warn(&dev->dev, + "buggy hyperviser: disable feature " + "0x%x since VIRTIO_NET_F_CTRL_VQ was " + "not advertised.\n", f); + } + } + } +} + static struct virtio_device_id id_table[] = { { VIRTIO_ID_NET, VIRTIO_DEV_ANY_ID }, { 0 }, @@ -1975,6 +2000,7 @@ static struct virtio_driver virtio_net_...
2014 Nov 17
1
[PATCH V3 2/2] virtio-net: sanitize buggy features advertised by host
...int i; + + if (!virtio_has_feature(dev, VIRTIO_NET_F_CTRL_VQ)) { + for (i = 0; i < ARRAY_SIZE(features_for_ctrl_vq); i++) { + unsigned int f = features_for_ctrl_vq[i]; + if (virtio_has_feature(dev, f)) { + virtio_disable_feature(dev, f); + dev_warn(&dev->dev, + "buggy hyperviser: disable feature " + "0x%x since VIRTIO_NET_F_CTRL_VQ was " + "not advertised.\n", f); + } + } + } +} + static struct virtio_device_id id_table[] = { { VIRTIO_ID_NET, VIRTIO_DEV_ANY_ID }, { 0 }, @@ -1975,6 +2000,7 @@ static struct virtio_driver virtio_net_...
2006 Aug 26
13
qemu-dm cpu utilization
Using an 8-way ES7000 with 32GB of ram, I''m running xen at changset 11217 with dom0_mem=3092M as a kernel parameter on a x86_64 hyperviser. It appears that qemu is adding too much overhead to virtual machines to display graphics. If I boot a sles9sp3 domVT in runlevel 5 with vga=0x314 for a graphicalboot, and immediately use vncviewer simply to watch the virtual machine as it boots, qemu-dm consumes 40% cpu as soon as vncviewer is la...
2014 Nov 18
1
[PATCH V3 2/2] virtio-net: sanitize buggy features advertised by host
...TRL_VQ)) { >> + for (i = 0; i < ARRAY_SIZE(features_for_ctrl_vq); i++) { >> + unsigned int f = features_for_ctrl_vq[i]; >> + if (virtio_has_feature(dev, f)) { >> + virtio_disable_feature(dev, f); >> + dev_warn(&dev->dev, >> + "buggy hyperviser: disable feature " >> + "0x%x since VIRTIO_NET_F_CTRL_VQ was " >> + "not advertised.\n", f); >> + } >> + } >> + } >> +} >> + >> static struct virtio_device_id id_table[] = { >> { VIRTIO_ID_NET, VIRTIO_DEV...
2014 Nov 18
1
[PATCH V3 2/2] virtio-net: sanitize buggy features advertised by host
...TRL_VQ)) { >> + for (i = 0; i < ARRAY_SIZE(features_for_ctrl_vq); i++) { >> + unsigned int f = features_for_ctrl_vq[i]; >> + if (virtio_has_feature(dev, f)) { >> + virtio_disable_feature(dev, f); >> + dev_warn(&dev->dev, >> + "buggy hyperviser: disable feature " >> + "0x%x since VIRTIO_NET_F_CTRL_VQ was " >> + "not advertised.\n", f); >> + } >> + } >> + } >> +} >> + >> static struct virtio_device_id id_table[] = { >> { VIRTIO_ID_NET, VIRTIO_DEV...