Security Logs

2023-07-22 Thread Simon Fairweather
Hi Is there a way to enable logging of security revents, i.e. a remote client connecting to VNC/SPICE for console. I cannot see/find any documentation, I have also requested a feature request on QEMU gitlab. Regards Simon.

PHP API

2023-04-30 Thread Simon Fairweather
Hi Michal Are there plans to implement snapshot create_as version of the following function where XML could be passed? https://github.com/libvirt/libvirt-php/blob/afe404b2cf4bb46cdd39c6ea4df1c7c65b2d0b1b/src/libvirt-snapshot.c#L105 Regards Simon.

Re: UEFI and External Snapshots

2023-04-27 Thread Simon Fairweather
Thanks, are you able to suggest a link for the documemtation? Is support available for revert of external snaps or would i need to handle that manually? On Thu, 27 Apr 2023, 08:52 Peter Krempa, wrote: > On Wed, Apr 26, 2023 at 21:04:36 +0100, Simon Fairweather wrote: > > Is there

UEFI and External Snapshots

2023-04-26 Thread Simon Fairweather
Is there a plan to support UEFI and Ext Snaps? Or is there a location for documentation as the info I can find is quite old.

Re: Virtiofsd

2023-04-06 Thread Simon Fairweather
Looks like posix lock is already logged. But does not seem to be close to being implemented On Thu, 6 Apr 2023, 16:04 Peter Krempa, wrote: > On Tue, Apr 04, 2023 at 17:31:37 +0100, Simon Fairweather wrote: > > Thanks these are missing in rust. > > > > > > You

Re: Virtiofsd

2023-04-04 Thread Simon Fairweather
Thanks these are missing in rust. On Tue, Apr 4, 2023 at 5:25 PM Peter Krempa wrote: > 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 th

Virtiofsd

2023-04-04 Thread Simon Fairweather
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 ... Option

Re: Option Flags

2023-03-23 Thread Simon Fairweather
Thanks Michal, Should there be a link to the flags definition on this page? https://libvirt.org/php/api-reference.html On Thu, Mar 23, 2023 at 2:36 PM Michal Prívozník wrote: > On 3/23/23 10:35, Simon Fairweather wrote: > > Hi > > > > Are the flags documented? can thi

Option Flags

2023-03-23 Thread Simon Fairweather
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 r

Re: virNetSocketReadWire

2023-03-07 Thread Simon Fairweather
Thanks Daniel On Tue, Mar 7, 2023 at 2:12 PM Daniel P. Berrangé wrote: > 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/out

virNetSocketReadWire

2023-03-07 Thread Simon Fairweather
What are the standard reasons for this to fail? virNetSocketReadWire:1791 : End of file while reading data: Input/output error

Re: Unable to set XATTR trusted.libvirt.security.dac Operation not supported

2023-02-07 Thread Simon Fairweather
Issue report is here https://github.com/libfuse/libfuse/issues/730 On Mon, 6 Feb 2023, 10:49 Michal Prívozník, wrote: > On 2/6/23 10:49, Simon Fairweather wrote: > > Thanks Michal, following your suggestion on FS It looks like a fuse > > 3.13.0 issue, if I use drive mount point i

Re: Unable to set XATTR trusted.libvirt.security.dac Operation not supported

2023-02-06 Thread Simon Fairweather
:05, Simon Fairweather wrote: > > Running with Kernel 6.1.8 > > > > QEMU 7.1 libvirt 8.7 > > > > setting remeber_owner = 0 resolves the issue but was working ok on > > kernel 6.0.x. > > > > root@computenode:~# cat /etc/libvirt/qemu.conf | grep reme &g

Unable to set XATTR trusted.libvirt.security.dac Operation not supported

2023-02-02 Thread Simon Fairweather
Running with Kernel 6.1.8 QEMU 7.1 libvirt 8.7 setting remeber_owner = 0 resolves the issue but was working ok on kernel 6.0.x. root@computenode:~# cat /etc/libvirt/qemu.conf | grep reme # Whether libvirt should remember and restore the original remember_owner = 0 root@computenode:~# Any known

Re: virConnectGetDomainCapabilities

2023-01-13 Thread Simon Fairweather
Great thankyou On Fri, 13 Jan 2023, 15:32 Michal Prívozník, wrote: > 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 > >

virConnectGetDomainCapabilities

2023-01-07 Thread Simon Fairweather
Hi Is there a php api version for this? Regards Smon

Re: libvirt_connect_get_nic_models

2023-01-02 Thread Simon Fairweather
Ok, thanks. On Mon, Jan 2, 2023 at 10:17 AM Michal Prívozník wrote: > On 12/28/22 10:09, Simon Fairweather wrote: > > Hi > > > > Can you confirm that I source get an array of these when running this > > api call, currently I just get a return of false > > >

Snapshots of EFI VMs

2022-12-30 Thread Simon Fairweather
Is there a timeline to fully support create/remove and revert for these VMs?

libvirt_connect_get_nic_models

2022-12-28 Thread Simon Fairweather
Hi Can you confirm that I source get an array of these when running this api call, currently I just get a return of false root@computenode:/mnt/testpool# qemu -nic model=help Supported NIC models: e1000 e1000-82544gc e1000-82545em e1000e i82550 i82551 i82557a i82557b i82557c i82558a i82558b i8255

Re: libvirt_connect_get_machine_types

2022-12-07 Thread Simon Fairweather
Great, thanks! On Wed, Dec 7, 2022 at 2:48 PM Michal Prívozník wrote: > On 12/7/22 11:27, Simon Fairweather wrote: > > Awesome, thanks! > > Aaand it's done. > > https://libvirt.org/sources/php/ > > Michal > >

Re: libvirt_connect_get_machine_types

2022-12-07 Thread Simon Fairweather
Awesome, thanks! On Wed, Dec 7, 2022 at 10:02 AM Michal Prívozník wrote: > On 12/6/22 20:13, Simon Fairweather wrote: > > Thanks for the update. What does this mean? > > > > The only problem is that QEMU feeds us PPM which is not wired to PHP > > really. > &g

Re: libvirt_connect_get_machine_types

2022-12-06 Thread Simon Fairweather
dRequires: libvirt-devel >= %{req_libvirt_version} BuildRequires: libxml2-devel BuildRequires: libxslt -BuildRequires: php-pecl-imagick %if 0%{?suse_version} BuildRequires: xhtml-dtd %else On Tue, Dec 6, 2022 at 1:06 PM Michal Prívozník wrote: > On 12/6/22 13:57, Simon Fairweathe

Re: libvirt_connect_get_machine_types

2022-12-06 Thread Simon Fairweather
When will 0.5.7 be released? On Tue, Dec 6, 2022 at 10:02 AM Michal Prívozník wrote: > On 12/6/22 09:41, Simon Fairweather wrote: > > Hi Michal, > > > > There is an issue with keys generated in the function adding null to the > > end of each key, I have created an i

Re: libvirt_connect_get_machine_types

2022-12-06 Thread Simon Fairweather
Great, thanks! On Tue, 6 Dec 2022, 10:02 am Michal Prívozník, wrote: > On 12/6/22 09:41, Simon Fairweather wrote: > > Hi Michal, > > > > There is an issue with keys generated in the function adding null to the > > end of each key, I have created an issue with a pa

Re: libvirt_connect_get_machine_types

2022-12-06 Thread Simon Fairweather
key = "ppc\0" ; var_dump(bin2hex(($key)) ); var_dump( $tmp[$key]) ; Regards Simon On Mon, Dec 5, 2022 at 10:44 AM Simon Fairweather < simon.n.fairweat...@gmail.com> wrote: > Thanks for your reply Michal, looks like it is a php array processing > issue which I am looking into

Re: libvirt_connect_get_machine_types

2022-12-05 Thread Simon Fairweather
Thanks for your reply Michal, looks like it is a php array processing issue which I am looking into. On Mon, Dec 5, 2022 at 9:51 AM Michal Prívozník wrote: > On 12/4/22 18:18, Simon Fairweather wrote: > > Using the following > > > > php: version 8.1.13 > > php-libv

libvirt_connect_get_machine_types

2022-12-04 Thread Simon Fairweather
Using the following php: version 8.1.13 php-libvirt: version 0.5.6 (build 2) libvirt 8.7.0 QEMU 7.1.0 virsh capabilities works fine. hvm 64 /usr/bin/qemu-system-x86_64 pc-i440fx-7.1 pc pc-q35-5.2 pc-i440fx-2.12 pc-i440fx-2.0 pc-i440fx-6.2

Re: domain_qemu_agent_command($domain,$cmd,$timeout,$flags)

2022-11-16 Thread Simon Fairweather
Thanks, But is is not in the list here. https://libvirt.org/php/api-reference.html On Wed, Nov 16, 2022 at 8:03 AM Michal Prívozník wrote: > On 11/15/22 18:21, Simon Fairweather wrote: > > libvirt_domain_interface_addresses() this doesn't seem to be in the php > > api re

Re: domain_qemu_agent_command($domain,$cmd,$timeout,$flags)

2022-11-15 Thread Simon Fairweather
libvirt_domain_interface_addresses() this doesn't seem to be in the php api reference. On Tue, Nov 15, 2022 at 1:47 PM Michal Prívozník wrote: > On 11/15/22 14:44, Simon Fairweather wrote: > > Hi Michal, > > > > Can you advise why the following warning

Re: domain_qemu_agent_command($domain,$cmd,$timeout,$flags)

2022-11-15 Thread Simon Fairweather
-2501-b4cbdac5dd4c is tainted: custom-ga-command Regards On Wed, Oct 26, 2022 at 8:21 AM Michal Prívozník wrote: > On 10/25/22 20:04, Simon Fairweather wrote: > > Should there be a way to suppress errors using the flags? > > > > error : qemuDomainAgentAvailable:8411 : Guest a

Booting from USB device

2022-10-28 Thread Simon Fairweather
I have a hooks file to hotplug a USB device at the prepare stage. Using OVMF version 2.6 this works fine, but using OVMF 2.7 the guest no longer boots from the USB device. Option 1) For it to work I have to set the boot order on the USB device and once the OVMF Shell appears I can reset it and i

Re: domain_qemu_agent_command($domain,$cmd,$timeout,$flags)

2022-10-26 Thread Simon Fairweather
Thanks Michal, php version I used. $xml = new SimpleXMLElement($lv->domain_get_xml($res)) ; $data = $xml->xpath('//channel/target[@name="org.qemu.guest_agent.0"]/@state') ; On Wed, Oct 26, 2022 at 8:21 AM Michal Prívozník wrote: > On 10/25/22 2

domain_qemu_agent_command($domain,$cmd,$timeout,$flags)

2022-10-25 Thread Simon Fairweather
Should there be a way to suppress errors using the flags? error : qemuDomainAgentAvailable:8411 : Guest agent is not responding: QEMU guest agent is not connected Or is there a libvirt function to check connection status or another way?

MemoryBacking options

2022-10-08 Thread Simon Fairweather
Hi, Is there any documentation that states which options can be used together with each other. ... ...

Re: virHostdevIsPCINodeDeviceUsed

2021-05-19 Thread Simon Fairweather
Thanks, I will raise an issue and look to see if I can raise a patch. Regards Simon On Wed, May 19, 2021 at 11:38 AM Michal Prívozník wrote: > On 5/17/21 8:36 PM, Simon Fairweather wrote: > > I am looking to be able to check if a specific PCI device is allocated > to a > >

virHostdevIsPCINodeDeviceUsed

2021-05-17 Thread Simon Fairweather
I am looking to be able to check if a specific PCI device is allocated to a guest. An error is produced if a domain is started and the device is in use within another domain via this function. I cannot see a publicly available function to use to get this information, is there one available or is