Displaying 20 results from an estimated 10000 matches similar to: "PHP API"
2023 May 15
0
PHP API
On 5/11/23 20:19, Simon Fairweather wrote:
> Hi Michal,
>
> Would you be able to add, if there is a process you follow I can look at
> creating merge requests.
>
> Regards
> Simon
>
> int virDomainBlockPull (virDomainPtr
> <https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainPtr> dom,
> const char * disk,
> unsigned long
2023 Mar 23
2
Option Flags
Hi
Are the flags documented? can this function be used to specify same as virsh
undefine --nvram "name of VM"
libvirt_domain_undefine_flags($res, $flags)
[Since version (null)]
Function is used to undefine(with flags) the domain identified by it's
resource.
*@res [resource]*: libvirt domain resource, e.g. from
libvirt_domain_lookup_by_*()
*@flags [int]*: optional flags
2023 Jan 07
1
virConnectGetDomainCapabilities
Hi
Is there a php api version for this?
Regards
Smon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20230107/e8b93ba9/attachment.htm>
2023 Mar 23
1
Option Flags
On 3/23/23 10:35, Simon Fairweather wrote:
> Hi?
>
> Are the flags documented? can this function be used to? specify? same
> as?virsh undefine --nvram "name of VM"
>
> libvirt_domain_undefine_flags($res, $flags)
>
> [Since version (null)]
>
> Function is used to undefine(with flags) the domain identified by it's
> resource.
>
> /@res
2023 Jan 13
1
virConnectGetDomainCapabilities
On 1/7/23 16:15, Simon Fairweather wrote:
> Hi
>
> Is there a php api version for this?
There is now:
https://gitlab.com/libvirt/libvirt-php/-/commit/af33dcf01243b81fe1d9b23ab105c1ba157cd9af
Michal
2023 Mar 07
1
virNetSocketReadWire
What are the standard reasons for this to fail?
virNetSocketReadWire:1791 : End of file while reading data: Input/output
error
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20230307/7b318c84/attachment.htm>
2023 Apr 04
1
Virtiofsd
Hi
In QEMU 8 virtiofsd has been removed in favor of the rust version. Which
includes options that are not longer supported,
Do you have a view on what should be used going forwards to support
virtiofsd in libvirt with qemu 8?
The options are showing as depreciated,
-o <compat-options>...
Options in a format compatible with the legacy implementation
[deprecated]
Rust
2023 Mar 07
1
virNetSocketReadWire
On Tue, Mar 07, 2023 at 01:57:24PM +0000, Simon Fairweather wrote:
> What are the standard reasons for this to fail?
>
> virNetSocketReadWire:1791 : End of file while reading data: Input/output
> error
The socket connection to libvirtd / other daemons was abruptly
closed. Essentially you can almost always ignore this error
message as being mostly harmless.
With regards,
Daniel
--
2023 Apr 04
1
Virtiofsd
On Tue, Apr 04, 2023 at 17:12:15 +0100, Simon Fairweather wrote:
> Hi
>
> In QEMU 8 virtiofsd has been removed in favor of the rust version. Which
> includes options that are not longer supported,
>
>
> Do you have a view on what should be used going forwards to support
> virtiofsd in libvirt with qemu 8?
>
> The options are showing as depreciated,
> -o
2023 Mar 19
1
virsh domifaddr --domain domname --source {lease, arp} not showing results with ipv6
hi,
I have configured a routed network on my laptop with a ipv6 subnet and
dnsmasq is handing out ipv6 addresses to my vms and it works really wel,
but finding out which ips have been used is not as easy as with ipv4.
[root at lenovo ~]# virsh domifaddr --domain wec --source lease
Name MAC address Protocol Address
2023 May 14
1
Invalid value '-1' for 'cpu.max': Invalid argument - a result of?
Hi guys.
In hope that an expert read this - what is, can be, the
below a result of?
12284 still running (86040)
Invalid value '-1' for 'cpu.max': Invalid argument
12284 still running (86035)
12284 still running (86030)
this is a snippet from libvirtd logs which is a consequence
of what ovirt's engine setup is doing.
To troubleshoot ansible playbooks which is what engine
2023 Mar 21
1
virsh domifaddr --domain domname --source {lease, arp} not showing results with ipv6
hi,
On Tue, Mar 21, 2023 at 3:40?PM Michal Pr?vozn?k <mprivozn at redhat.com>
wrote:
> On 3/19/23 20:21, Natxo Asenjo wrote:
> > hi,
> >
> > I have configured a routed network on my laptop with a ipv6 subnet and
> > dnsmasq is handing out ipv6 addresses to my vms and it works really wel,
> > but finding out which ips have been used is not as easy as with
2020 Apr 14
2
Re: php libvirt show active snapshot
I was looking for a virDomainSnapshotCurrent
I wish I had time to learn to properly Code in C, haven't touch it
since that late 90's
I'm only only coding in php out of necessity.
.
On Tue, Apr 14, 2020 at 8:02 AM Michal Privoznik <mprivozn@redhat.com> wrote:
>
> On 4/13/20 9:22 PM, Todd Lewis wrote:
> > Is php libvirt able to list the active snapshot for the vm?
2020 Apr 16
2
Re: php libvirt show active snapshot
Cool. I'll try it out
On Thu, Apr 16, 2020 at 8:38 AM Michal Privoznik <mprivozn@redhat.com> wrote:
>
> On 4/14/20 6:49 PM, Todd Lewis wrote:
> > I was looking for a virDomainSnapshotCurrent
> > I wish I had time to learn to properly Code in C, haven't touch it
> > since that late 90's
> > I'm only only coding in php out of necessity.
>
>
2020 Apr 13
2
php libvirt show active snapshot
Is php libvirt able to list the active snapshot for the vm?
I can easily take snapshots and restore snapshots, but I can't figure
out how to display the currently active snapshot using php libvirt.
--
Todd Lewis
Grizzly Star
(469) 363-2907 Cell
www.grizzlystar.com
2019 Aug 02
2
Re: Detach disk from VM - virsh (working) vs. PHP (not working)
Thank you for your help!
1, i used vda as install disk and vdb as target disk, because i boot from the first. After setup boot order flag i was able change install disk to vdb and target disk to vda. With this configuration when i boot from vdb i can install OS with grub and after it redefine XML without vdb without problem. Thanks a lot.
2, maybe i have something wrong, but still not working:
2015 Feb 08
2
[LLVMdev] Fwd: Improper Function::iterator increment
So, you mean to say that the above implementation is correct and should
work fine.
I initially thought that the above way is not the correct way anymore since
3.5.0 might have changed few things.
Anyways here is my dirty code I have written for my research project that I
took the above snippet from :
https://github.com/pranavk/spatial-computing/blob/master/waves.cpp#L105
On Sun, Feb 8, 2015
2023 Feb 17
2
[PATCH v3 0/2] python: Avoid leaking py_array and py_args in event callbacks
Version 1 was here:
https://listman.redhat.com/archives/libguestfs/2023-February/030732.html
(Ignore version 2 which had a mistake, this is version 3)
Following Eric's suggestion here:
https://listman.redhat.com/archives/libguestfs/2023-February/030746.html
let's decrement the reference of py_array right after adding it to the
args. (This works even if args fails to be built).
2023 Feb 17
3
python: Avoid leaking py_array and py_args in event callbacks
Version 1 was here:
https://listman.redhat.com/archives/libguestfs/2023-February/030732.html
Following Eric's suggestion here:
https://listman.redhat.com/archives/libguestfs/2023-February/030746.html
let's decrement the reference of py_array right after adding it to the
args. (This works even if args fails to be built).
However the other part of Eric's suggestion is wrong as
2023 Mar 16
3
[V2V PATCH v4 0/2] convert_windows: add firstboot script to install drivers with pnputil
While messing around this script, I added one more tiny patch making
wait-pnp log its output into the common log.txt file, as suggested by
Richard here:
https://listman.redhat.com/archives/libguestfs/2023-March/031023.html
Discussion on v3:
https://listman.redhat.com/archives/libguestfs/2023-March/031070.html
v3 -> v4:
* Remove unneeded line break from the script;
* Add another small