search for: vtest

Displaying 8 results from an estimated 8 matches for "vtest".

Did you mean: test
2009 Jun 19
2
[PATCH/RFC] virtio_test: A module for testing virtio via userspace
...+ + if (err) + return err; + + err = init_sg(&kaddbuf->sg, kaddbuf->kdata, kaddbuf->in + kaddbuf->out); + if (err) { + free_kvec(kaddbuf->kdata, kaddbuf->in + kaddbuf->out); + return err; + } + + return 0; +} + +static struct viotest_vq *get_virtqueue(struct viotest_dev *vtest, u32 vq_index) +{ + struct viotest_vq *vtvq; + + list_for_each_entry(vtvq, &vtest->vq_list, list) + if (vtvq->index == vq_index) + return vtvq; + + return ERR_PTR(-ENOENT); +} + +static int do_add_buf(struct viotest_dev *vtest, + struct viotest_kaddbuf *kaddbuf) +{ + int err;...
2009 Jun 19
2
[PATCH/RFC] virtio_test: A module for testing virtio via userspace
...+ + if (err) + return err; + + err = init_sg(&kaddbuf->sg, kaddbuf->kdata, kaddbuf->in + kaddbuf->out); + if (err) { + free_kvec(kaddbuf->kdata, kaddbuf->in + kaddbuf->out); + return err; + } + + return 0; +} + +static struct viotest_vq *get_virtqueue(struct viotest_dev *vtest, u32 vq_index) +{ + struct viotest_vq *vtvq; + + list_for_each_entry(vtvq, &vtest->vq_list, list) + if (vtvq->index == vq_index) + return vtvq; + + return ERR_PTR(-ENOENT); +} + +static int do_add_buf(struct viotest_dev *vtest, + struct viotest_kaddbuf *kaddbuf) +{ + int err;...
2013 Feb 12
11
What can I do to make btrfs work?
Btrfs has been broken for me for ages. I first reported it on this list 5 months ago[1]. Below is a very simple reproducer that anyone can run. *NB* before you run this, adjust /dev/sda & /dev/sda1 to point to an unused block device! ---------------------------------------------------------------------- #!/bin/sh - set -e while true; do parted -s -- /dev/sda mklabel msdos parted -s --
2010 Mar 27
1
Matching pairs of values
I am sure someone can come up with a clever way of doing what I want---I don't seem to be able to. I want to check if a pair of numbers occurs as one of the rows of an n by 2 matrix. If I was only checking whether a single number was in a vector of numbers I would use %in% but I can't see how to generalize to this case. Any pointers? David Scott --
2002 Sep 05
1
the reason for the gain of high frequencies
...oder only seems to care about the SNR and not about the resulting energy level as well. any suggestions ? (Monty?) <p>bye, Sebastian --- Crosspoint v3.0 * Origin: Point 15 der DCG Main BBS (2:2432/207.15) -------------- next part -------------- A non-text attachment was scrubbed... Name: vtest.png Type: image/png Size: 20249 bytes Desc: vtest.png Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20020905/2473df82/vtest-0001.png
2014 Jun 05
3
Cannot obtain CPU freq during vbox machine creation
Dear libvirt experts, I can not instantiate even a simple machine when using the 'vbox' hypervisor: s14% virt-install --connect=vbox:///session --virt-type vbox --name vtest --memory 500 ERROR cannot obtain CPU freq: No such file or directory s14% virsh -c vbox:///session błąd: cannot obtain CPU freq: No such file or directory (1) How to fix this error? The VirtualBox driver seems to be installed: s14% virsh -V Narzędzie wiersza poleceń virsh biblioteki libvirt 1...
2008 Aug 08
2
Tick marks that correspond with bars on barplot
...dwood/softwood density from 1965 to 2005 in 5 year periods (1965,1970, etc). I would like to have an X-axis where the labels for the years line up after every two bars in the plot (there is one bar for hardwood, and another for softwood). Below is my script: density<-read.table("F:\\Megan\\Vtest.csv", header=TRUE, sep=",") attach (density) barplot(DENSITY,YEAR, col=c("blue", "green", "green", "blue", "blue", "green", "blue", "green", "green", "blue", "green", "b...
2014 Jan 22
2
Package checking: verifying plots
I pride myself on having an extensive and comprehensive test suite for the survival package. However, I don't have a good procedure for testing the plotting routines. (Forget "good", I don't even have a third-rate procedure for this.) This was brought home with the latest release; within 24 hours I got a note about a problem. They y-axis range for a plot was calculated