<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/tools, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/tools?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/tools?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-07-31T11:15:06Z</updated>
<entry>
<title>qemu-vmsr-helper: implement --verbose/-v</title>
<updated>2024-07-31T11:15:06Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2024-07-30T16:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=2a99c2ba822ef9758d739ffdefbe6252520c1719'/>
<id>urn:sha1:2a99c2ba822ef9758d739ffdefbe6252520c1719</id>
<content type='text'>
Similar to qemu-pr-helper, do not print errors from the socket handling loop
unless a --verbose or -v option is provided explicitly on the command line.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>qemu-vmsr-helper: fix socket loop breakage</title>
<updated>2024-07-31T11:14:52Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2024-07-30T15:55:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=768a28394c9412fe1cfdf48509713fd11779a658'/>
<id>urn:sha1:768a28394c9412fe1cfdf48509713fd11779a658</id>
<content type='text'>
Between v5 and v6 of the series, the socket loop of qemu-vmsr-helper was changed to
allow sending multiple requests on the same socket.  Unfortunately, the condition
of the while loop is botched and the loop will never be entered.  Clean it up, and
also unify the handling of error reporting.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools: build qemu-vmsr-helper</title>
<updated>2024-07-22T11:50:21Z</updated>
<author>
<name>Anthony Harivel</name>
<email>aharivel@redhat.com</email>
</author>
<published>2024-05-22T15:34:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=84369d762127157137006e29a971bb08a1bd17cd'/>
<id>urn:sha1:84369d762127157137006e29a971bb08a1bd17cd</id>
<content type='text'>
Introduce a privileged helper to access RAPL MSR.

The privileged helper tool, qemu-vmsr-helper, is designed to provide
virtual machines with the ability to read specific RAPL (Running Average
Power Limit) MSRs without requiring CAP_SYS_RAWIO privileges or relying
on external, out-of-tree patches.

The helper tool leverages Unix permissions and SO_PEERCRED socket
options to enforce access control, ensuring that only processes
explicitly requesting read access via readmsr() from a valid Thread ID
can access these MSRs.

The list of RAPL MSRs that are allowed to be read by the helper tool is
defined in rapl-msr-index.h. This list corresponds to the RAPL MSRs that
will be supported in the next commit titled "Add support for RAPL MSRs
in KVM/QEMU."

The tool is intentionally designed to run on the Linux x86 platform.
This initial implementation is tailored for Intel CPUs but can be
extended to support AMD CPUs in the future.

Signed-off-by: Anthony Harivel &lt;aharivel@redhat.com&gt;
Link: https://lore.kernel.org/r/20240522153453.1230389-3-aharivel@redhat.com
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Add a separate target for skeleton</title>
<updated>2024-06-04T07:14:26Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-04-28T07:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=6832aa80a193d04aaf8e89a64e1825a158290057'/>
<id>urn:sha1:6832aa80a193d04aaf8e89a64e1825a158290057</id>
<content type='text'>
This generalizes the rule to generate the skeleton and allows to add
another.

Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Refactor tun_rss_steering_prog()</title>
<updated>2024-06-04T07:14:26Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-04-28T07:01:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=f5c69e7ab2507553d1a2780e41d924c32dec3c44'/>
<id>urn:sha1:f5c69e7ab2507553d1a2780e41d924c32dec3c44</id>
<content type='text'>
This saves branches and makes later BPF program changes easier.

Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Return 0 when configuration fails</title>
<updated>2024-06-04T07:14:26Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-04-28T07:00:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=8dc8220e23a6d16415b6a0a46785224e8bc7edd1'/>
<id>urn:sha1:8dc8220e23a6d16415b6a0a46785224e8bc7edd1</id>
<content type='text'>
The kernel interprets the returned value as an unsigned 32-bit so -1
will mean queue 4294967295, which is awkward. Return 0 instead.

Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Fix RSS error handling</title>
<updated>2024-06-04T07:14:26Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@daynix.com</email>
</author>
<published>2024-04-28T07:00:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=72fa42cfca7060fab00c534e71fc850b194a4c6d'/>
<id>urn:sha1:72fa42cfca7060fab00c534e71fc850b194a4c6d</id>
<content type='text'>
calculate_rss_hash() was using hash value 0 to tell if it calculated
a hash, but the hash value may be 0 on a rare occasion. Have a
distinct bool value for correctness.

Fixes: f3fa412de2 ("ebpf: Added eBPF RSS program.")
Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: Updated eBPF program and skeleton.</title>
<updated>2024-03-12T11:31:47Z</updated>
<author>
<name>Andrew Melnychenko</name>
<email>andrew@daynix.com</email>
</author>
<published>2024-02-05T16:54:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=0cc14182aba961f4c34a21dd202ce6e4a87470f5'/>
<id>urn:sha1:0cc14182aba961f4c34a21dd202ce6e4a87470f5</id>
<content type='text'>
Updated section name, so libbpf should init/gues proper
program type without specifications during open/load.
Also, added map_flags with explicitly declared BPF_F_MMAPABLE.
Added check for BPF_F_MMAPABLE flag to meson script and
requirements to libbpf version.
Also changed fragmentation flag check - some TCP/UDP packets
may be considered fragmented if DF flag is set.

Signed-off-by: Andrew Melnychenko &lt;andrew@daynix.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>ebpf: fix compatibility with libbpf 1.0+</title>
<updated>2023-03-10T09:26:47Z</updated>
<author>
<name>Shreesh Adiga</name>
<email>16567adigashreesh@gmail.com</email>
</author>
<published>2022-12-18T14:39:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=197a137290103993b33f93c90e788ab4984f103a'/>
<id>urn:sha1:197a137290103993b33f93c90e788ab4984f103a</id>
<content type='text'>
The current implementation fails to load on a system with
libbpf 1.0 and reports that legacy map definitions in 'maps'
section are not supported by libbpf v1.0+. This commit updates
the Makefile to add BTF (-g flag) and appropriately updates
the maps in rss.bpf.c and update the skeleton file in repo.

Signed-off-by: Shreesh Adiga &lt;16567adigashreesh@gmail.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtiofsd: Remove source</title>
<updated>2023-02-16T18:15:08Z</updated>
<author>
<name>Dr. David Alan Gilbert</name>
<email>dgilbert@redhat.com</email>
</author>
<published>2023-01-18T12:11:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=e0dc2631ec4ac718ebe22ddea0ab25524eb37b0e'/>
<id>urn:sha1:e0dc2631ec4ac718ebe22ddea0ab25524eb37b0e</id>
<content type='text'>
Now remove all the source.

Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Acked-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
</feed>
