Displaying 20 results from an estimated 462 matches for "pivot".
2003 Jun 23
3
FW: S4 classes, creating in C
...le
in his lecture notes on
<http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Tutorials/RExtensions/slide
s.pdf>
http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Tutorials/RExtensions/slides
.pdf
e.g.
SEXP La_DGE_dc(SEXP A)
{
SEXP aa = PROTECT(duplicate(A));
SEXP adims, pivot, val;
int m, n, info;
if (!isMatrix(aa) || !isReal(aa)) {
error("A must be a double precision matrix");
}
adims = GET_DIM(aa); m = INTEGER(adims)[0]; n = INTEGER(adims)[1];
pivot = PROTECT(NEW_INTEGER(m < n ? m :...
2015 May 19
2
Pivot without copy
Hi,
Is it possible to "pivot" to a new image without doing blockcopy or
blockpull? I know how to use snapshots and blockpull to create a new image
and pivot to using it live, but what I would like to do is to have a VM
switch from using imageA.qcow2 to image2.qcow2 while running. I don't see
why this wouldn't be p...
2012 Sep 07
1
Suggest adding a 'pivot' argument to qr.R
I suggest adding a 'pivot' argument to qr.R, to obtain columns in the
same order as the original x, so that
a <- qr(x)
qr.Q(a) %*% qr.R(a, pivot=TRUE)
returns x.
--------------------------------------------------
# File src/library/base/R/qr.R
qr.R <- function(qr, complete = FALSE, pivot = FALSE)
{
# Args...
2015 May 19
0
Re: Pivot without copy
On 05/19/2015 12:52 PM, Mathew Moon wrote:
> Hi,
>
> Is it possible to "pivot" to a new image without doing blockcopy or
> blockpull?
No. Qemu does not support arbitrary reopening of a backing chain yet
(even with the 'change-backing-file' QMP command, that is just rewriting
contents of the qcow2 metadata, and not actually reopening the chain).
The only way...
2012 Jul 24
2
Create a Pivot
Hi Friends,
i'm new to R....I have data frame having columns X Y Z....I want to do
pivot on this data frame....can any one help me on this...
Thanks,
Namit
--
View this message in context: http://r.789695.n4.nabble.com/Create-a-Pivot-tp4637629.html
Sent from the R help mailing list archive at Nabble.com.
1999 Apr 30
1
Question on the idiom: start <- coef; start[fit$pivot] <- coef
I wonder if someone could explain how the following R idiom works (it's
used in
glm.fit).
start <- coef
start[fit$pivot] <- coef
coef is a vector of coefficients, set by .Fortran("dqrls", ...).
fit$pivot is a vector of integer indexes (indicating how dqrls permuted
the columns
of x). If coef has n elements, fit$pivot is a permutation of seq(1,5).
start[fit$pivot] is simple enough, but the assignment...
2015 May 19
3
Re: Pivot without copy
...ng postgresql
as a replication group. I am trying a lot of different things and often
have to take a snapshot of all 5 VM's, do some work, and then to revert to
the previous snapshot I have to:
1. kill the VM
2. edit the VM's config
3. start the VM
What I would like is to be able to "pivot" the "current" image to be the
previous snapshot (in most cases). I understand that if this were possible
then there would be applications crash because something on disk doesn't
jive with what is in memory, but I am ok with that, I just want to get my
databases back to "squ...
2017 Aug 14
2
virsh blockcommit fails regularily (was: virtual drive performance)
...ropped to a few bytes/sec for a few seconds and then was fast again.
However we still observe that the following fails regularily:
$ virsh snapshot-create-as --domain domain --name backup --no-metadata
--atomic --disk-only --diskspec hda,snapshot=external
$ virsh blockcommit domain hda --active --pivot
error: failed to pivot job for disk hda
error: block copy still active: disk 'hda' not ready for pivot yet
Could not merge changes for disk hda of domain. VM may be in invalid state.
Then running the following in the morning succeeds and successfully pivotes
the snapshot into the base imag...
2016 Dec 28
2
libvirtError: block copy still active: disk not ready for pivot yet
...When performing live merge, in few cases, we see the following exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 736, in wrapper
return f(*a, **kw)
File "/usr/share/vdsm/virt/vm.py", line 5278, in run
self.tryPivot()
File "/usr/share/vdsm/virt/vm.py", line 5247, in tryPivot
ret = self.vm._dom.blockJobAbort(self.drive.name, flags)
File "/usr/share/vdsm/virt/virdomain.py", line 68, in f
ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnecti...
2015 May 19
0
Re: Pivot without copy
...I am trying a lot of different things and often
> have to take a snapshot of all 5 VM's, do some work, and then to revert to
> the previous snapshot I have to:
>
> 1. kill the VM
> 2. edit the VM's config
> 3. start the VM
>
> What I would like is to be able to "pivot" the "current" image to be the
> previous snapshot (in most cases). I understand that if this were possible
> then there would be applications crash because something on disk doesn't
> jive with what is in memory, but I am ok with that, I just want to get my
> databas...
2015 Oct 14
2
failed to pivot job for disk vdc
Hello,
I did a virsh snapshot-create-as --domain meta sn1 --diskspec
vda,file=/var/lib/libvirt/images/meta-sn1.qcow2 --disk-only
--atomic --no-metadata
Then I successfully blockcommitted 2 disks:
virsh blockcommit meta vda --active --verbose --pivot
virsh blockcommit meta vdb --active --verbose --pivot
But when doing
virsh blockcommit meta vdc --active --verbose --pivot
I got:
Block commit: [100 %]error: failed to pivot job for disk vdc
error: block copy still active: disk 'vdc' not ready for pivot yet
Domain snapshot sn1 created
And...
2014 Feb 05
4
Re: Can I move the disk image of the guest while it is running?
...target device? Or it will still use the original
disk image?
AFAIK, a transient guest only means it will disappear after the
virtualisation session ends.
> virsh dumpxml $dom > file
> virsh undefine $dom
> virsh blockcopy $dom /ssd/image.raw /hdd/image.raw \
> --wait --verbose --pivot
> virsh define file
I could not find anything about "pivot" or "pivoting"? What does --pivot
do in this case?
Thank you.
--
Üdvözlettel / Best regards
Horváth Gergely | gergely.horvath@inepex.com
IneTrack - Nyomkövetés egyszerűen | Inepex Kft.
Ügyfélszolgálat: support@i...
2011 Sep 04
2
what is wrong with my quicksort?
Hey guys,
I tried to program quicksort like this but somethings wrong.
please help
>partition <- function(x, links, rechts){
>
> i <- links
> j <- rechts
> t <- 0
> pivot <- sample(x[i:j],1)
>
> while(i <= j){
>
> while(x[i] <= pivot){
> i = i+1}
>
> while(x[j] >= pivot){
> j = j-1}
>
> if( i <= j){
>
> t = x[i]
> x[i] = x[j]
> x[j] = t
>
> i=i+1
> j=j-1
>
&g...
2015 Oct 20
2
Re: failed to pivot job for disk vdc
Hello,
it happened with another VM:
# virsh snapshot-create-as --domain rasa sn1 --diskspec
vda,file=/var/lib/libvirt/images/rasa-sn1.qcow2 --disk-only
--atomic --no-metadata
# virsh blockcommit rasa vda --active --verbose --pivot
Block commit: [100 %]error: failed to pivot job for disk vda
error: block copy still active: disk 'vda' not ready for pivot yet
# virsh domblklist rasa
Target Source
------------------------------------------------
vda /var/lib/libvirt/images/rasa-sn1.qcow2
If blockcommit had s...
2006 Jan 12
1
follow-up on qr.coef bug (PR#8478)
The bug I submitted yesterday (It's not entered in the bug data base, so
I have no ID for it) included a suggested fix that
is not correct. It worked for the examples I gave because there was no
pivoting in fact, or only pivot permutations that were
idempotent. A correction that works in general on the examples I gave
makes these two changes in qr.coef():
## coef[qr$pivot, ] <- .Call("qr_coef_cmplx", qr, y, PACKAGE =
"base")[1:p]
coef[qr$pivot,] <-...
2017 Jan 03
0
Re: libvirtError: block copy still active: disk not ready for pivot yet
On Wed, Dec 28, 2016 at 01:26:12PM +0200, Ala Hino wrote:
> Hi guys,
>
> When performing live merge, in few cases, we see the following exception:
[...]
> libvirtError: block copy still active: disk 'vdb' not ready for pivot yet
You can see if the block operation is still in progress or not by doing:
`sudo virsh blockjob vm1 vdb --info`.
> That exception observed in following BZs:
>
> https://bugzilla.redhat.com/1376580
> https://bugzilla.redhat.com/1397122
[I see, that the above are oVirt bugs.]
>...
2015 Jan 07
2
Re: Block Commit: [100 %]error: failed to pivot job for disk vda
On Wednesday 07 January 2015 09:46:09 Eric Blake wrote:
> On 01/07/2015 07:19 AM, Thomas Stein wrote:
> > Hello.
> >
> > I'm seeing this error while doing a backup of a VM.
> >
> > + virsh blockcommit kaltura vda --active --verbose --pivot
> > Block Commit: [100 %]error: failed to pivot job for disk vda
> > error: internal error: unable to execute QEMU command
> > 'block-job-complete': The active block job for device
> > 'drive-virtio-disk0' cannot be completed
>
> Based on this message,...
2017 Aug 14
0
Re: virsh blockcommit fails regularily (was: virtual drive performance)
...a few seconds and then was fast again.
>
> However we still observe that the following fails regularily:
>
> $ virsh snapshot-create-as --domain domain --name backup --no-metadata
> --atomic --disk-only --diskspec hda,snapshot=external
> $ virsh blockcommit domain hda --active --pivot
> error: failed to pivot job for disk hda
> error: block copy still active: disk 'hda' not ready for pivot yet
> Could not merge changes for disk hda of domain. VM may be in invalid state.
since this thread was renamed, please re-state the version of libvirt
you are using. I don...
2020 May 08
2
blockcommit --pivot does not succeed in conjunction with qemu 5.0.0
Hello one and all.
Got a problem with libvirt 6.2.0 and qemu 5.0.0.
virsh blockcommit mymachine vda --active --verbose --pivot
works until it shows [100%] but it never actually pivots. It just sits
there. Is this a known issue with 6.2.0 and i should
try 6.3.0? For now i switched back to qemu 4.2.0 and this seems to solve
the issue too. Any hints?
Ahoi! t.
2008 Apr 25
4
Equivalent of Excel pivot tables in R
Can somebody tell me how to do the equivalent of a pivot table in R ?
For example, if I have :
var1 var2 var3
a x 10
b y 20
a z 10
b z 20
a z 10
b z 20
I could have :
x y z
a 1 0 2
b 0 1 2
where...