<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libvirt.git/tests/bhyvexml2argvdata, branch master</title>
<subtitle>libvirt.org: git/libvirt.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/'/>
<entry>
<title>bhyvexml2argvtest: use virCommandToStringFull to strip command path</title>
<updated>2021-04-21T12:20:03+00:00</updated>
<author>
<name>Pavel Hrdina</name>
<email>phrdina@redhat.com</email>
</author>
<published>2021-04-16T18:32:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=a6cc9e46fb9857d6ab827eeb8a1630c9bd5f55f1'/>
<id>a6cc9e46fb9857d6ab827eeb8a1630c9bd5f55f1</id>
<content type='text'>
Currently the tests would fail if the bhyve commands are installed in
different path then /usr/bin. Strip the command path to not depend on
the host environment.

Signed-off-by: Pavel Hrdina &lt;phrdina@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the tests would fail if the bhyve commands are installed in
different path then /usr/bin. Strip the command path to not depend on
the host environment.

Signed-off-by: Pavel Hrdina &lt;phrdina@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bhyvexml2argvtest: Use internal wrapping of command line arguments</title>
<updated>2021-04-12T13:55:10+00:00</updated>
<author>
<name>Peter Krempa</name>
<email>pkrempa@redhat.com</email>
</author>
<published>2021-03-31T08:46:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=2dcbdc7f4b722fc7338dba71da70016531895a6e'/>
<id>2dcbdc7f4b722fc7338dba71da70016531895a6e</id>
<content type='text'>
virCommandToString has the possibility to return an already wrapped
string with better format than what we get from the test wrapper script.

The main advantage is that arguments for an option are always on the
same line which makes it more easy to see what changed in a diff and
prevents re-wrapping of the line if a wrapping point moves over the
threshold.

Signed-off-by: Peter Krempa &lt;pkrempa@redhat.com&gt;
Reviewed-by: Ján Tomko &lt;jtomko@redhat.com&gt;
Reviewed-by: Pavel Hrdina &lt;phrdina@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
virCommandToString has the possibility to return an already wrapped
string with better format than what we get from the test wrapper script.

The main advantage is that arguments for an option are always on the
same line which makes it more easy to see what changed in a diff and
prevents re-wrapping of the line if a wrapping point moves over the
threshold.

Signed-off-by: Peter Krempa &lt;pkrempa@redhat.com&gt;
Reviewed-by: Ján Tomko &lt;jtomko@redhat.com&gt;
Reviewed-by: Pavel Hrdina &lt;phrdina@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bhyve: add &lt;os firmware='efi'&gt; support</title>
<updated>2021-03-20T03:53:45+00:00</updated>
<author>
<name>Roman Bogorodskiy</name>
<email>bogorodskiy@gmail.com</email>
</author>
<published>2021-02-22T09:46:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=63bed955dffb9163464a38e2ae14a20934bc8770'/>
<id>63bed955dffb9163464a38e2ae14a20934bc8770</id>
<content type='text'>
Implement "&lt;os firmware='efi'&gt;" support for bhyve driver.
As there are not really lot of options, try to find
"BHYVE_UEFI.fd" firmware which is installed by the
sysutils/uefi-edk2-bhyve FreeBSD port.

If not found, just use the first found firmware
in the firmwares directory (which is configurable via
config file).

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Michal Privoznik &lt;mprivozn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement "&lt;os firmware='efi'&gt;" support for bhyve driver.
As there are not really lot of options, try to find
"BHYVE_UEFI.fd" firmware which is installed by the
sysutils/uefi-edk2-bhyve FreeBSD port.

If not found, just use the first found firmware
in the firmwares directory (which is configurable via
config file).

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Michal Privoznik &lt;mprivozn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bhyve: auto allocate nmdm console paths</title>
<updated>2021-02-08T14:50:47+00:00</updated>
<author>
<name>Roman Bogorodskiy</name>
<email>bogorodskiy@gmail.com</email>
</author>
<published>2021-02-07T03:57:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=b1e6324ca272acd69573571fcb5184b1ac417d1d'/>
<id>b1e6324ca272acd69573571fcb5184b1ac417d1d</id>
<content type='text'>
Currently, nmdm console device requires user to specify master and slave
path attributes (such as /dev/nmdm0A and /dev/nmdm0B respectively).
However, making user find a non-occupied device name might be not
convenient, especially for the remote connections.

Update the logic to make these attributes optional. In case if not
specified, use /dev/nmdm$UUID[AB], where $UUID is a domain's UUID.
With this schema it's unlikely nmdm device will clash with other domains
or even other non-bhyve nmdm devices.

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Ján Tomko &lt;jtomko@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, nmdm console device requires user to specify master and slave
path attributes (such as /dev/nmdm0A and /dev/nmdm0B respectively).
However, making user find a non-occupied device name might be not
convenient, especially for the remote connections.

Update the logic to make these attributes optional. In case if not
specified, use /dev/nmdm$UUID[AB], where $UUID is a domain's UUID.
With this schema it's unlikely nmdm device will clash with other domains
or even other non-bhyve nmdm devices.

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Ján Tomko &lt;jtomko@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bhyve: fix virtio-9p src/dst order</title>
<updated>2020-10-12T11:24:21+00:00</updated>
<author>
<name>Roman Bogorodskiy</name>
<email>bogorodskiy@gmail.com</email>
</author>
<published>2020-10-10T04:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=476bf54e861df9b0a5176eb0ba0a23cfccf21ceb'/>
<id>476bf54e861df9b0a5176eb0ba0a23cfccf21ceb</id>
<content type='text'>
For the virtio-9p bhyve command line argument, the proper order
is mount_tag=/path/to/host/dir, not the opposite.

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Michal Privoznik &lt;mprivozn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For the virtio-9p bhyve command line argument, the proper order
is mount_tag=/path/to/host/dir, not the opposite.

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Michal Privoznik &lt;mprivozn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bhyve: implement virtio-9p support</title>
<updated>2020-10-09T14:46:04+00:00</updated>
<author>
<name>Roman Bogorodskiy</name>
<email>bogorodskiy@gmail.com</email>
</author>
<published>2020-10-07T16:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=7382a7c2bef9d0f74a364a13b8b4ec8c08ffd1e5'/>
<id>7382a7c2bef9d0f74a364a13b8b4ec8c08ffd1e5</id>
<content type='text'>
Recently virtio-9p support was added to bhyve.

On the host side it looks this way:

  bhyve .... -s 25:0,virtio-9p,sharename=/path/to/shared/dir

It could also have ",ro" suffix to make share read-only.

In the Linux guest, this share is mounted with:

  mount -t 9p sharename /mnt/sharename

In the guest user will see the same permissions and ownership
information for this directory as on the host. No uid/gid remapping is
supported, so those could resolve to wrong user or group names.

The same applies to the other side: chowning/chmodding in the guest will
set specified ownership and permissions on the host.

In libvirt domain XML it's modeled using the 'filesystem' element:

  &lt;filesystem type='mount'&gt;
    &lt;source dir='/path/to/shared/dir'/&gt;
    &lt;target dir='sharename'/&gt;
  &lt;/filesystem&gt;

Optional 'readonly' sub-element enables read-only mode.

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Michal Privoznik &lt;mprivozn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recently virtio-9p support was added to bhyve.

On the host side it looks this way:

  bhyve .... -s 25:0,virtio-9p,sharename=/path/to/shared/dir

It could also have ",ro" suffix to make share read-only.

In the Linux guest, this share is mounted with:

  mount -t 9p sharename /mnt/sharename

In the guest user will see the same permissions and ownership
information for this directory as on the host. No uid/gid remapping is
supported, so those could resolve to wrong user or group names.

The same applies to the other side: chowning/chmodding in the guest will
set specified ownership and permissions on the host.

In libvirt domain XML it's modeled using the 'filesystem' element:

  &lt;filesystem type='mount'&gt;
    &lt;source dir='/path/to/shared/dir'/&gt;
    &lt;target dir='sharename'/&gt;
  &lt;/filesystem&gt;

Optional 'readonly' sub-element enables read-only mode.

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Michal Privoznik &lt;mprivozn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bhyve: add VNC password support</title>
<updated>2020-09-22T13:19:26+00:00</updated>
<author>
<name>Fabian Freyer</name>
<email>fabian.freyer@physik.tu-berlin.de</email>
</author>
<published>2020-05-06T13:35:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=81a9194cbf06ee4eabffcde11a9d27b8a1222ee0'/>
<id>81a9194cbf06ee4eabffcde11a9d27b8a1222ee0</id>
<content type='text'>
Support setting a password for the VNC framebuffer using the passwd
attribute on the &lt;graphics/&gt; element, if the driver has the
BHYVE_CAP_VNC_PASSWORD capability.

Note that virsh domxml-from-native does not output the password in the
generated XML, as VIR_DOMAIN_DEF_FORMAT_SECURE is not set when
formatting the domain definition.

Signed-off-by: Fabian Freyer &lt;fabian.freyer@physik.tu-berlin.de&gt;
Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support setting a password for the VNC framebuffer using the passwd
attribute on the &lt;graphics/&gt; element, if the driver has the
BHYVE_CAP_VNC_PASSWORD capability.

Note that virsh domxml-from-native does not output the password in the
generated XML, as VIR_DOMAIN_DEF_FORMAT_SECURE is not set when
formatting the domain definition.

Signed-off-by: Fabian Freyer &lt;fabian.freyer@physik.tu-berlin.de&gt;
Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bhyve: add support for setting fbuf resolution</title>
<updated>2020-09-22T13:19:26+00:00</updated>
<author>
<name>Fabian Freyer</name>
<email>fabian.freyer@physik.tu-berlin.de</email>
</author>
<published>2020-05-06T13:35:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=2968e5ff3aa9e48b135ba2bab65b13f32fe6223f'/>
<id>2968e5ff3aa9e48b135ba2bab65b13f32fe6223f</id>
<content type='text'>
The resolution of the VNC framebuffer can now be set via the resolution
definition introduced in 5.9.0.

Also, add "gop" to the list of model types  the &lt;resolution/&gt;
sub-element is valid for.

Signed-off-by: Fabian Freyer &lt;fabian.freyer@physik.tu-berlin.de&gt;
Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The resolution of the VNC framebuffer can now be set via the resolution
definition introduced in 5.9.0.

Also, add "gop" to the list of model types  the &lt;resolution/&gt;
sub-element is valid for.

Signed-off-by: Fabian Freyer &lt;fabian.freyer@physik.tu-berlin.de&gt;
Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bhyve: add missing test files</title>
<updated>2020-09-22T11:59:37+00:00</updated>
<author>
<name>Roman Bogorodskiy</name>
<email>bogorodskiy@gmail.com</email>
</author>
<published>2020-09-22T11:59:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=54c207a13dea5ef8877c5e5f9c24c6c93f6c8865'/>
<id>54c207a13dea5ef8877c5e5f9c24c6c93f6c8865</id>
<content type='text'>
Fixes: 4277e61e22b7532dc476c44a356081053da470f8
Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: 4277e61e22b7532dc476c44a356081053da470f8
Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bhyve: soften requirements for slot 1</title>
<updated>2020-09-21T16:03:45+00:00</updated>
<author>
<name>Roman Bogorodskiy</name>
<email>bogorodskiy@gmail.com</email>
</author>
<published>2020-09-20T14:53:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt.git/commit/?id=4277e61e22b7532dc476c44a356081053da470f8'/>
<id>4277e61e22b7532dc476c44a356081053da470f8</id>
<content type='text'>
Currently, slot 1 is only allowed to be used by the LPC device.
Relax this requirement and allow to use slot 1 if it was explicitly
specified by the user for any other device type. In this case the LPC
device will have the next available address.

If slot 1 was not used by the user, it'll be reserved for the LPC
device, even if it is not configured to make address assignment
consistent in case the LPC device becomes necessary (e.g. the user
adds a console or a video device which require LPC).

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, slot 1 is only allowed to be used by the LPC device.
Relax this requirement and allow to use slot 1 if it was explicitly
specified by the user for any other device type. In this case the LPC
device will have the next available address.

If slot 1 was not used by the user, it'll be reserved for the LPC
device, even if it is not configured to make address assignment
consistent in case the LPC device becomes necessary (e.g. the user
adds a console or a video device which require LPC).

Signed-off-by: Roman Bogorodskiy &lt;bogorodskiy@gmail.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
