Re: [PATCH 0/6] Introduce OpenSSH authorized key file mgmt APIs

2020-11-13 Thread Vasiliy Tolstov
try to deal > with what's running inside the VM. I'm not 100% persuaded, but we have > plenty prior art and the insulation argument makes sense (as long as the > replacement has the capabilities). > > If we do want to keep adding the APIs I'm fine with the patches as-is, > as any other solution would be extremely gross. > > Obviously v2 is required due to the security problems. > -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru

Re: [PATCH 0/6] Introduce OpenSSH authorized key file mgmt APIs

2020-11-12 Thread Vasiliy Tolstov
_protocol-structs | 22 > tests/qemuagenttest.c | 79 +++ > tools/virsh-domain.c| 152 ++++ > 15 files changed, 887 insertions(+), 1 deletion(-) > > -- > 2.26.2 > -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru

Re: disable passwd access to spice and specify disable-ticketing

2020-04-02 Thread Vasiliy Tolstov
Thanks! чт, 2 апр. 2020 г. в 13:22, Daniel P. Berrangé : > On Thu, Apr 02, 2020 at 01:05:28PM +0300, Vasiliy Tolstov wrote: > > Hi! i need to have passwordless auth to spice (because it is restricted > to > > 127.0.0.1 and nobody can connect to it, in feature i want to use it v

disable passwd access to spice and specify disable-ticketing

2020-04-02 Thread Vasiliy Tolstov
a password to spice? Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru

Re: listen type socket support for rdp graphics

2020-03-20 Thread Vasiliy Tolstov
Ok Thanks! I'm read docs and think that tdp is also supported =). пт, 20 мар. 2020 г. в 12:51, Daniel P. Berrangé : > On Fri, Mar 20, 2020 at 04:05:46AM +0300, Vasiliy Tolstov wrote: > > Hi! How hard implement listen type socket support for rdp graphics? VNC > and > >

listen type socket support for rdp graphics

2020-03-19 Thread Vasiliy Tolstov
Hi! How hard implement listen type socket support for rdp graphics? VNC and SPICE already have such options? And does this support for rdp available for qemu driver? (I need to access qemu vm via rdp) Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru

[libvirt] may be bug in some scripts that push libvirt docs to site

2018-12-22 Thread Vasiliy Tolstov
Hi. I found in google that for some docs it have two pages, one html and second html.in For example https://libvirt.org/formatnetwork.html.in and https://libvirt.org/formatnetwork.html -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https

Re: [libvirt] libvirt-dbus build for virt-preview

2018-07-28 Thread Vasiliy Tolstov
пт, 27 июл. 2018 г. в 13:02, Pavel Hrdina : > > On Fri, Jul 27, 2018 at 12:38:47PM +0300, Vasiliy Tolstov wrote: > > Hi! Does it possible to add libvirt-dbus building for virt-preview repo? > > My use case - get latest libvirt-dbus in current fedora stable release. > > Hi

[libvirt] libvirt-dbus build for virt-preview

2018-07-27 Thread Vasiliy Tolstov
Hi! Does it possible to add libvirt-dbus building for virt-preview repo? My use case - get latest libvirt-dbus in current fedora stable release. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] auto generated golang dbus binding for libvirt

2018-07-10 Thread Vasiliy Tolstov
вт, 10 июл. 2018 г. в 16:33, Peter Krempa : > > On Tue, Jul 10, 2018 at 16:24:55 +0300, Vasiliy Tolstov wrote: > > Hi. Thanks for dbus based interface to libvirt. Now i'm able to > > automatic generate bindings for go > > https://godoc.org/sdstack.com/sdstack/go-libvirt &g

[libvirt] auto generated golang dbus binding for libvirt

2018-07-10 Thread Vasiliy Tolstov
Hi. Thanks for dbus based interface to libvirt. Now i'm able to automatic generate bindings for go https://godoc.org/sdstack.com/sdstack/go-libvirt Code generator is ugly (gen.go and template.tpl) but package already able to do basic operations. Thanks again for you work. -- Vasiliy Tolstov, e

[libvirt] [PATCH 0/1] WIP: try to implement volume rename

2018-01-27 Thread Vasiliy Tolstov
This is incomplete work for implementing volume rename in libvirt I'm try to impelemnt it for some backends. First missing part is remote rpc call, and second - tests. If somebody can/want to help me, i'll very happy. Vasiliy Tolstov (1): [WIP] implement vol rename include/libvirt/libvirt

[libvirt] [PATCH 1/1] [WIP] implement vol rename

2018-01-27 Thread Vasiliy Tolstov
Signed-off-by: Vasiliy Tolstov <v.tols...@selfip.ru> --- include/libvirt/libvirt-storage.h | 3 ++ m4/virt-storage-lvm.m4 | 3 ++ src/libvirt-storage.c | 39 + src/libvirt_private.syms | 1 + src/libvirt_publi

Re: [libvirt] libvirt 3.9.0 locks (was libvirt 3.5.0 locks)

2017-12-04 Thread Vasiliy Tolstov
ild until it is fixed upstream. Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt 3.9.0 locks (was libvirt 3.5.0 locks)

2017-12-04 Thread Vasiliy Tolstov
2017-12-01 16:14 GMT+03:00 Nikolay Shirokovskiy <nshirokovs...@virtuozzo.com>: > On 01.12.2017 15:26, Vasiliy Tolstov wrote: >> Hi again. I'm still try to determine why my libvirtd locks, this is >> another portion of gdb stuff: >> https://gist.github.com/vtolstov/ae8c4

Re: [libvirt] libvirt 3.9.0 locks (was libvirt 3.5.0 locks)

2017-12-01 Thread Vasiliy Tolstov
I know that libvirt 3.2 does not have this issue, this is last version that i try before this issue (after 3.2 i'm go to 3.5.0) 2017-12-01 16:14 GMT+03:00 Nikolay Shirokovskiy <nshirokovs...@virtuozzo.com>: > On 01.12.2017 15:26, Vasiliy Tolstov wrote: >> Hi again. I'm still try t

Re: [libvirt] libvirt 3.9.0 locks (was libvirt 3.5.0 locks)

2017-12-01 Thread Vasiliy Tolstov
May be i'm too late check the status, but always when i have such issue virsh says that domain in shutdown state, and qemu process not founded. 2017-12-01 16:10 GMT+03:00 Peter Krempa <pkre...@redhat.com>: > On Fri, Dec 01, 2017 at 15:26:35 +0300, Vasiliy Tolstov wrote: >> Hi again

[libvirt] libvirt 3.9.0 locks (was libvirt 3.5.0 locks)

2017-12-01 Thread Vasiliy Tolstov
; current job is (query, none) owned by (1180 remoteDispatchConnectGetAllDomainStats, 0 ) for (30s, 0s) and virsh list says that domain in shutdown state (but qemu process already exited). Please, help me to solve this issue. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing

Re: [libvirt] libvirt 3.5.0 locks

2017-08-24 Thread Vasiliy Tolstov
0x7f95bc0e4c40 in ?? () #3 0x7f95bc0e4bd0 in ?? () #4 0x7f95bc0e4b60 in ?? () #5 0x7f95bc0e44e0 in ?? () #6 0x in ?? () root@cn12:~# 2017-07-26 15:15 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > 2017-07-14 12:21 GMT+03:00 Martin Kletzand

Re: [libvirt] [PATCH] activate and refresh logical volumes while refreshing logical pool

2017-08-01 Thread Vasiliy Tolstov
2017-08-01 17:36 GMT+03:00 Ján Tomko <jto...@redhat.com>: > On Tue, Aug 01, 2017 at 04:26:07PM +0300, Vasiliy Tolstov wrote: >> >> Signed-off-by: Vasiliy Tolstov <v.tols...@selfip.ru> >> --- >> src/storage/storage_backend_logical.c | 19 +

[libvirt] [PATCH] activate and refresh logical volumes while refreshing logical pool

2017-08-01 Thread Vasiliy Tolstov
Signed-off-by: Vasiliy Tolstov <v.tols...@selfip.ru> --- src/storage/storage_backend_logical.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/src/storage/storage_backend_logical.c b/src/storage/storage_backend_logical.c index 67f70e551729..0c34476de38e 100644 ---

[libvirt] [PATCH] activate and refresh logical volumes while refreshing logical pool

2017-08-01 Thread Vasiliy Tolstov
When using remote attached disks like srp/iser its useful to auto activate volumes list and refresh its metadata because volume may be created outside of libvirt and on different node. Vasiliy Tolstov (1): activate and refresh logical volumes while refreshing logical pool src/storage

Re: [libvirt] libvirt 3.5.0 locks

2017-07-26 Thread Vasiliy Tolstov
2017-07-14 12:21 GMT+03:00 Martin Kletzander <mklet...@redhat.com>: > On Fri, Jul 14, 2017 at 12:18:06PM +0300, Vasiliy Tolstov wrote: >> >> 2017-07-14 12:07 GMT+03:00 Martin Kletzander <mklet...@redhat.com>: >> >>>>> What's be stacktrace of libvi

Re: [libvirt] libvirt 3.5.0 locks

2017-07-14 Thread Vasiliy Tolstov
I'm try, does i need to have debugging symbols on this host ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt 3.5.0 locks

2017-07-14 Thread Vasiliy Tolstov
2017-07-14 10:27 GMT+03:00 Martin Kletzander <mklet...@redhat.com>: > On Fri, Jul 14, 2017 at 10:09:00AM +0300, Vasiliy Tolstov wrote: >> >> Hi. I'm testing libvirt 3.5.0 and have many issues like this: >> >> Jul 14 09:47:25 cn25 libvirtd[18820]: 2017-07-14 0

[libvirt] libvirt 3.5.0 locks

2017-07-14 Thread Vasiliy Tolstov
and why only libvirt restart can helps in this case -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt binding for DBUS

2017-07-06 Thread Vasiliy Tolstov
2017-07-06 15:18 GMT+03:00 Pavel Hrdina <anti...@rosnicka.net>: > Hi, I'm glad to hear that there is an interest in this binding. > > I've started working on the generator but it probably takes some time, > I'm not sure how much. This is fine! Waiting for generator. -- Vasil

Re: [libvirt] libvirt binding for DBUS

2017-07-06 Thread Vasiliy Tolstov
2017-07-05 22:44 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > Also can you provide minimal example to list domains or create? I found examples in tests dir. I can contribute for this bindings but need to know - what planned first and do by redhat team and what can do by

Re: [libvirt] libvirt binding for DBUS

2017-07-05 Thread Vasiliy Tolstov
2017-07-05 15:51 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > Very good ! Do you have time roadmap for this code generator? I'm > happy to replace own generated go binding to dbus based. Also can you provide minimal example to list domains or create? -- Vasiliy Tolstov, e-

Re: [libvirt] libvirt binding for DBUS

2017-07-05 Thread Vasiliy Tolstov
to the >> python binding). >> Very good ! Do you have time roadmap for this code generator? I'm happy to replace own generated go binding to dbus based. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [libvirt-php PATCH] add API bindings for get/set network autostart

2017-06-06 Thread Vasiliy Tolstov
2017-06-05 22:57 GMT+03:00 Dawid Zamirski <dzamir...@datto.com>: > Aside from that: > * fix arginfo_libvirt_conn_flags - it has 2 args not 1 > * get rid arginfo_libvirt_domain_set_autostart and use > arginfo_libvirt_conn_flags instead as it's the same. Looks good to me --

Re: [libvirt] [PATCH] qemu: allow to control host side link status of network device

2017-05-18 Thread Vasiliy Tolstov
wayed their opinions :-) > > I think we should have two elements in this case. I just don't consider > setting the host link side to be very useful. > Sorry, Laine. As i understand you already have alternative patch for such feature, can you share it? I'm really interesting how much it di

Re: [libvirt] [PATCH] qemu: allow to control host side link status of network device

2017-05-17 Thread Vasiliy Tolstov
device in the host as well, there would be > unexpected (and undesireable) consequences. So as i understand xml for this feature looks right. I found one minor issue, and send v2 shortly, but i want to know, does this will be accepted by upstream? -- Vasiliy Tolstov, e-mail: v.tols...@self

Re: [libvirt] [PATCH] qemu: allow to control host side link status of network device

2017-05-16 Thread Vasiliy Tolstov
ted with message : link state only for guest side, for host side we need different element in xml. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] qemu: allow to control host side link status of network device

2017-05-16 Thread Vasiliy Tolstov
te no matter that have guest - host system forward traffic to it. So i need to modify host side link status too. > > At any rate, if you provide a justification, you also need to modify the > XML portion to have a separate element and provide a test case as it's > required with XML

[libvirt] [PATCH] qemu: allow to control host side link status of network device

2017-05-15 Thread Vasiliy Tolstov
Signed-off-by: Vasiliy Tolstov <v.tols...@selfip.ru> --- docs/formatdomain.html.in | 21 + docs/schemas/domaincommon.rng | 11 +++ src/conf/domain_conf.c| 28 src/conf/domain_conf.h| 1 + src/qemu/qemu_hot

[libvirt] [PATCH] allow to control host side link status of ethernet network device

2017-05-15 Thread Vasiliy Tolstov
Back to old thread with Laine Stump with message title: "qemu: remove unnecessary setting of tap device online state" I'm not tested ip and route assign in case of up/down link and device update on the fly. But host side link status tested and worked fine. Vasiliy Tolstov (1): q

[libvirt] limit pps via bandwidth

2017-05-15 Thread Vasiliy Tolstov
-pages/man8/tc-sfb.8.html As i understand firstly we can limit by pps and secondly via bandwidth... What do you think? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] changing compat when create volume from volume via libvirt api

2017-05-12 Thread Vasiliy Tolstov
2017-05-12 16:32 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > Also, specify compat in xml desc of new disk helps with comat version, > but image size grows: > image: new2.qcow2 Sorry for noise. I found root case - old.qcow2 have internal compression enabled when cre

Re: [libvirt] changing compat when create volume from volume via libvirt api

2017-05-12 Thread Vasiliy Tolstov
2017-05-12 16:20 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > I'm use via php binding > https://libvirt.org/html/libvirt-libvirt-storage.html#virStorageVolCreateXMLFrom > > and see that image grows: > > image: new.qcow2 > file format: qcow2 > virtual size: 4.9G

[libvirt] changing compat when create volume from volume via libvirt api

2017-05-12 Thread Vasiliy Tolstov
refcount bits: 16 image: old.qcow2 file format: qcow2 virtual size: 4.9G (524288 bytes) disk size: 277M cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: false refcount bits: 16 corrupt: false Why libvirt create new image with different compat? -- Vasiliy

Re: [libvirt] src/remote_protocol-structs file

2017-05-11 Thread Vasiliy Tolstov
. > > BTW: you can find src/ -name "*protocol-structs*" ;-) Thanks! I'm rewrite code gen to use this protocol-structs =). -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] src/remote_protocol-structs file

2017-05-10 Thread Vasiliy Tolstov
and lxc_protocol.x do you plan to add files for this xdr files, or src/remote_protocol-structs will be deprecated? Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] set link state for ethernet network devices

2017-05-10 Thread Vasiliy Tolstov
, and to modify link state on host side i need to specify . For history please check email thread "qemu: remove unnecessary setting of tap device online state" So does this bug or it my mistake? Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@

Re: [libvirt] Raising limits for our RPC messages

2017-05-04 Thread Vasiliy Tolstov
f > burning CPU time on compression. Yes... gRPC ? Or you don't plan to change XDR ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Raising limits for our RPC messages

2017-05-04 Thread Vasiliy Tolstov
ode-local > agent talking to libvirtd anyway. Does it possible to compress/uncompress data before/after transmission? I think that stats data can be efficient compressed... -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Unbounded client streams

2017-04-25 Thread Vasiliy Tolstov
25 Апр 2017 г. 15:01 пользователь "Michal Privoznik" <mpriv...@redhat.com> написал: On 04/25/2017 01:37 PM, Vasiliy Tolstov wrote: > 2017-04-25 10:30 GMT+03:00 Michal Privoznik <mpriv...@redhat.com>: >> Probably forgot to mention, the problem happens regardless of s

Re: [libvirt] Unbounded client streams

2017-04-25 Thread Vasiliy Tolstov
ontains many messages and can take huge processing time. And second side by side for other messages. Like data channel and control channel? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Unbounded client streams

2017-04-25 Thread Vasiliy Tolstov
25 Апр 2017 г. 10:23 пользователь "Michal Privoznik" написал: Dear list, as you might have seen, I've been playing with our streams lately. One of the things I wanted to try was how my sparse streams deal with vol-download and slow writer (e.g. slow disk). Note to whomever

Re: [libvirt] error in docs https://libvirt.org/html/libvirt-libvirt-domain.html

2017-04-24 Thread Vasiliy Tolstov
2017-04-24 15:30 GMT+03:00 Michal Privoznik <mpriv...@redhat.com>: > Diggin' deeper, this is problem of apibuild.py script which also generates > docs/libvirt-api.xml. So our bindings have incorrect description for the > values too. I am looking into this now. Thanks! -- Vas

Re: [libvirt] creating stream

2017-04-23 Thread Vasiliy Tolstov
same as (regroup) > > [00 00 00 01] [00 00 00 07] [73 65 72 69 61 6c 30] > > which means: the following pointer is a non-NULL pointer, and it is a string > of the length 7 and the string is "serial0". Ahh sorry. This is bug in xdr2 package, and i merge pr for it and n

Re: [libvirt] creating stream

2017-04-21 Thread Vasiliy Tolstov
000 0001 0001 0007 7365 7269 seri 0x0090: 616c 3000 0001 al0. So i think that in case of function Open conse Libvirt send to remote server flags twice. Before dev_name and after. Do you have any comments ? -- Vasiliy Tolstov, e-mail: v

Re: [libvirt] creating stream

2017-04-21 Thread Vasiliy Tolstov
2017-04-20 21:14 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > I found , so i can decode all typed params to map[string]interface{} thanks! I'm try to add support for DomainOpenConsole and don't understand underline payload: https://gist.github.com/vtolstov/f8a0f80de82100440b1c0e8

Re: [libvirt] creating stream

2017-04-20 Thread Vasiliy Tolstov
2017-04-20 20:55 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > Thanks, but i don't understand, firstly xdr data contains number of > params (params_len) or length of params (it size) ? I found , so i can decode all typed params to map[string]interface{} thanks! -- Vasiliy Tol

Re: [libvirt] creating stream

2017-04-20 Thread Vasiliy Tolstov
_typed_param_value and remote_typed_param > structs defined in src/remote/remote_protocol.h. Thanks, but i don't understand, firstly xdr data contains number of params (params_len) or length of params (it size) ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list l

Re: [libvirt] server side copy from one volume to another

2017-04-19 Thread Vasiliy Tolstov
\ > -A /var/lib/libvirt/images/sda/test > log > > Most probably log should be empty, since the actual content of the > image did not change. Ok, thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] error in docs https://libvirt.org/html/libvirt-libvirt-domain.html

2017-04-18 Thread Vasiliy Tolstov
virDomainMigrateFlags have errors VIR_MIGRATE_LIVE have invalid comment and as i see all comments are shifted down by one point. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] server side copy from one volume to another

2017-04-18 Thread Vasiliy Tolstov
ze at all. Ok thanks for info and for saving my time =)! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] server side copy from one volume to another

2017-04-18 Thread Vasiliy Tolstov
2017-04-18 14:03 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > Why size is changed on destination image? In case of cp > --spwarse=always size does not changed. This is qemu-img feature... Does libvirt garantie that successful return from copy volume function not breaks dst

Re: [libvirt] server side copy from one volume to another

2017-04-18 Thread Vasiliy Tolstov
2017-04-18 8:39 GMT+03:00 Michal Privoznik : > s that right? Here I'm successfully cloning a volume across two storage pools: Yes, it works but Source image: image: /var/lib/libvirt/images/sda/143177 file format: qcow2 virtual size: 5.0G (5368709120 bytes) disk size:

Re: [libvirt] server side copy from one volume to another

2017-04-17 Thread Vasiliy Tolstov
l.createXMLFrom() or > virStorageVolCreateXMLFrom() - they should serve exactly what you need. > Don't they? > > If not, then yes - we might focus on adding new API for that. This function now work across pools. So two volumes need to be in the same pool. But i need to copy across pools -- Vasiliy Tolstov,

Re: [libvirt] server side copy from one volume to another

2017-04-17 Thread Vasiliy Tolstov
is the best way to implement this - use optimal copy function tight with storage backend? Or create generic variant that utilize vol download/upload and transfer data via local libvirt daemon? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https:/

[libvirt] server side copy from one volume to another

2017-04-14 Thread Vasiliy Tolstov
client? Like server side copy? If this is not possible - may be someone from redhat team can do that? (Or provide some tips how can i do that?) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] creating stream

2017-04-10 Thread Vasiliy Tolstov
2017-04-05 22:11 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > I think in case of internal rpc i need to monitor each libvirt release > and check git diff or src/remote/remote_protocol.x I think about api breaking and create generator for rpm messages using remote_protocol.

Re: [libvirt] creating stream

2017-04-06 Thread Vasiliy Tolstov
2017-04-06 15:18 GMT+03:00 Daniel P. Berrange <berra...@redhat.com>: > Sure you're free to check if you don't believe me. I'm just making suggestion > to save you wasting your time. Ok =) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redh

Re: [libvirt] creating stream

2017-04-06 Thread Vasiliy Tolstov
API abstraction to > effectively manage a pool of multiple hosts. May be you right. But why not try to do and check... -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] creating stream

2017-04-06 Thread Vasiliy Tolstov
2017-04-06 15:06 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: >> We already have a fine grained access control system that can be used to >> restrict feature access... Also i don't think that libvirt access control have ability to deny access based on function and payload.

Re: [libvirt] creating stream

2017-04-06 Thread Vasiliy Tolstov
and i think for someone this is useful to understand how libvirt works internally. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] creating stream

2017-04-06 Thread Vasiliy Tolstov
Now only for fun, later - i want to try implement libvirt proxy with ability to selective deny some features in the middle -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] creating stream

2017-04-06 Thread Vasiliy Tolstov
vers changes from libvirt side and if libvirt internally change something integration test fails. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] creating stream

2017-04-05 Thread Vasiliy Tolstov
i need to monitor each libvirt release and check git diff or src/remote/remote_protocol.x -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] creating stream

2017-04-05 Thread Vasiliy Tolstov
2017-04-05 16:09 GMT+03:00 Michal Privoznik <mpriv...@redhat.com>: > On 04/05/2017 12:35 AM, Vasiliy Tolstov wrote: >> Hi. I know that libvirt devs does not like devs that used internal rpc >> of libvirt... > > Not entirely true. We like all devs, but we just discour

Re: [libvirt] creating stream

2017-04-05 Thread Vasiliy Tolstov
2017-04-05 1:35 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > Hi. I know that libvirt devs does not like devs that used internal rpc > of libvirt... I need to create stream to use with upload/download and > as i see it does not created via rpc call, can you suggest me what

[libvirt] creating stream

2017-04-04 Thread Vasiliy Tolstov
internally? Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] [libvirt-php] fix libvirt_stream_send/libvirt_stream_recv

2017-03-30 Thread Vasiliy Tolstov
to C string. As i understand leading zero dropped in this case ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH] [libvirt-php] fix libvirt_stream_send/libvirt_stream_recv

2017-03-29 Thread Vasiliy Tolstov
When php disable call pass time by reference this breaks libvirt_stream_recv and also bring more memory allocations from zend engine. Vasiliy Tolstov (1): fix libvirt_stream_send/libvirt_stream_recv src/libvirt-php.c | 36 1 file changed, 16 insertions

[libvirt] [PATCH] [libvirt-php] fix libvirt_stream_send/libvirt_stream_recv

2017-03-29 Thread Vasiliy Tolstov
Signed-off-by: Vasiliy Tolstov <v.tols...@selfip.ru> --- src/libvirt-php.c | 36 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index e8384795d635..4e088e746281 100644 --- a/src/libvirt-php.c +++

[libvirt] testing volDownload and volUpload different md5 on source and dest for qcow2

2017-03-29 Thread Vasiliy Tolstov
happening? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH] [libvirt-php] allow to specify empty base and top

2017-03-29 Thread Vasiliy Tolstov
allow to specify empty base and top to do active block commit Vasiliy Tolstov (1): allow to specify empty base and top for block commit src/libvirt-php.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) -- 2.9.3 -- libvir-list mailing list libvir-list

[libvirt] [PATCH] allow to specify empty base and top for block commit

2017-03-29 Thread Vasiliy Tolstov
Signed-off-by: Vasiliy Tolstov <v.tols...@selfip.ru> --- src/libvirt-php.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index e8384795d635..6bbacda19611 100644 --- a/src/libvirt-php.c +++ b/src/libvirt

Re: [libvirt] limit cpu speed in domain xml

2017-03-16 Thread Vasiliy Tolstov
16 Мар 2017 г. 13:18 пользователь "Daniel P. Berrange" <berra...@redhat.com> написал: On Thu, Mar 16, 2017 at 12:14:31AM +0300, Vasiliy Tolstov wrote: > Hi. Does it possible to limit vm cpu speed for example to 1Ghz or 500Mhz ? > I need to simulate some hardware with speci

[libvirt] limit cpu speed in domain xml

2017-03-15 Thread Vasiliy Tolstov
but on server too and want identical cpu speed inside vm) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] sheepdog: allow snapshot

2016-10-12 Thread Vasiliy Tolstov
pdog network protocol. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] sheepdog: allow snapshot

2016-10-11 Thread Vasiliy Tolstov
2016-09-29 16:00 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > partially revert f7c1410b0ee5b878e81f2eddf86c609947a9b27c because > sheepdog allow to store vm state inside vdi > Sorry, can somebody check this? > Signed-off-by: Vasiliy Tolstov <v.tols...@selfip.

Re: [libvirt] support for qemu werror and rerror

2016-09-29 Thread Vasiliy Tolstov
r details. Sorry i miss it. Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH] allow snapshots of network sheepdog disks

2016-09-29 Thread Vasiliy Tolstov
Sometimes ago in f7c1410b0ee5b878e81f2eddf86c609947a9b27c ability to snapshot sheepdog disk removed. But sheepdog have ability to store vm state inside special object type. Vasiliy Tolstov (1): sheepdog: allow snapshot src/qemu/qemu_driver.c | 6 ++ 1 file changed, 6 insertions

[libvirt] [PATCH] sheepdog: allow snapshot

2016-09-29 Thread Vasiliy Tolstov
partially revert f7c1410b0ee5b878e81f2eddf86c609947a9b27c because sheepdog allow to store vm state inside vdi Signed-off-by: Vasiliy Tolstov <v.tols...@selfip.ru> --- src/qemu/qemu_driver.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_dr

[libvirt] support for qemu werror and rerror

2016-09-29 Thread Vasiliy Tolstov
st), "enospc" (pause QEMU only if the host disk is full; report the error to the guest otherwise). The default setting iswerror=enospc and rerror=report. Does somebody can write this support to libvirt ? Or how can i enable werror and rerror ? -- Vasiliy Tolstov, e-mail: v.tols...@selfi

Re: [libvirt] [libvirt-php][PATCH 00/11] Resolve reverse include order

2016-09-28 Thread Vasiliy Tolstov
e going there we must distribute the > interesting parts from it around. Therefore I'm introducing some > modules (like it should have been done from the start). I like this idea to move extension helper to external files. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-li

[libvirt] virsh blockcopy or virDomainBlockCopy auto converge

2016-09-06 Thread Vasiliy Tolstov
Does it possible to add something like auto converge in live migration to blockcopy ? In my case i'm try to do virsh blockcopy --pivot and sometime it fails because domain write more data and it needs to be copied. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list

Re: [libvirt] [PATCH 3/3] qemu: set tap device online for type='ethernet'

2016-08-25 Thread Vasiliy Tolstov
p; > + > if (net->script && > virNetDevRunEthernetScript(net->ifname, net->script) < 0) > goto cleanup; > -- > 2.7.4 > ACK -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 2/3] qemu: remove unnecessary setting of tap device online state

2016-08-25 Thread Vasiliy Tolstov
if ((ret = virNetDevSetOnline(dev->ifname, false)) < 0) > -goto cleanup; > -break; > - } > -} > - > /* modify the device configuration */ > dev->linkstate = linkstate; > > -- > 2.7.4 > ACK -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 2/3] qemu: remove unnecessary setting of tap device online state

2016-08-25 Thread Vasiliy Tolstov
25 Авг 2016 г. 21:38 пользователь "Laine Stump" <la...@laine.org> написал: > > On 08/25/2016 02:19 PM, Vasiliy Tolstov wrote: >> >> 25 Авг 2016 г. 19:18 пользователь "Laine Stump" <la...@laine.org> написал: >> > >> > On 08/25/20

Re: [libvirt] [PATCH 2/3] qemu: remove unnecessary setting of tap device online state

2016-08-25 Thread Vasiliy Tolstov
25 Авг 2016 г. 19:18 пользователь "Laine Stump" <la...@laine.org> написал: > > On 08/25/2016 05:42 AM, Vasiliy Tolstov wrote: >> >> 25 Авг 2016 г. 12:34 пользователь Vasiliy Tolstov <v.tols...@selfip.ru> написал: >> > >> > 25 Авг 2016 г.

Re: [libvirt] [PATCH] qemu: fix ethernet network type ip/route assign

2016-08-25 Thread Vasiliy Tolstov
ches for > more details...) Yes, i commented with proposed solution to get that i need =) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 2/3] qemu: remove unnecessary setting of tap device online state

2016-08-25 Thread Vasiliy Tolstov
25 Авг 2016 г. 12:34 пользователь Vasiliy Tolstov <v.tols...@selfip.ru> написал: > > 25 Авг 2016 г. 8:58 пользователь "Laine Stump" <la...@laine.org> написал: > > > > The linkstate setting of an is only meant to change the > > online status report

Re: [libvirt] [PATCH 2/3] qemu: remove unnecessary setting of tap device online state

2016-08-25 Thread Vasiliy Tolstov
25 Авг 2016 г. 8:58 пользователь "Laine Stump" написал: > > The linkstate setting of an is only meant to change the > online status reported to the guest system by the emulated network > device driver in qemu, I need to set host side status of interface. Without this live

Re: [libvirt] [PATCH] qemu: fix ethernet network type ip/route assign

2016-08-25 Thread Vasiliy Tolstov
25 Авг 2016 г. 9:00 пользователь "Laine Stump" <la...@laine.org> написал: > > On 08/24/2016 02:32 PM, Laine Stump wrote: >> >> On 08/24/2016 12:09 PM, Vasiliy Tolstov wrote: >>> >>> IP and routes assigenment incorrectly placed on device s

Re: [libvirt] [PATCH] qemu: fix ethernet network type ip/route assign

2016-08-25 Thread Vasiliy Tolstov
25 Авг 2016 г. 9:00 пользователь "Laine Stump" <la...@laine.org> написал: > > On 08/24/2016 02:32 PM, Laine Stump wrote: >> >> On 08/24/2016 12:09 PM, Vasiliy Tolstov wrote: >>> >>> IP and routes assigenment incorrectly placed on device s

Re: [libvirt] [PATCH] qemu: fix ethernet network type ip/route assign

2016-08-24 Thread Vasiliy Tolstov
2016-08-24 19:09 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>: > IP and routes assigenment incorrectly placed on device stop. > This is fixing it, also change device state according to xml. > Note that as i know in linux routes can't be created on device that does > not u

  1   2   3   4   5   >