Re: [PATCH 0/5] contrib/plugins/hotblocks: Minor bug fixes and add limit argument

2025-07-30 Thread Alex Bradbury
On 2025-07-30 14:48, Manos Pitsidianakis wrote: > Hi Alex, > > On Wed, Jul 30, 2025 at 4:19 PM Alex Bradbury wrote: >> >> This series contains one minor feature addition and a series of small >> bugfixes/improvements. The addition that motivates the submission is to

[PATCH 1/5] contrib/plugins/hotblocks: Correctly free sorted counts list

2025-07-30 Thread Alex Bradbury
g_list_free should be passed the head of the list. Signed-off-by: Alex Bradbury --- contrib/plugins/hotblocks.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/plugins/hotblocks.c b/contrib/plugins/hotblocks.c index 98404b6885..d3dd23ed9f 100644 --- a

[PATCH 3/5] contrib/plugins/hotblocks: Print uint64_t with PRIu64 rather than PRId64

2025-07-30 Thread Alex Bradbury
qemu_plugin_u64_sum returns a uint64_t, so PRIu64 is the correct format specifier. Signed-off-by: Alex Bradbury --- contrib/plugins/hotblocks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/plugins/hotblocks.c b/contrib/plugins/hotblocks.c index cf4d6b8c36

[PATCH 5/5] contrib/plugins/hotblocks: Allow limit to be set as a command line argument

2025-07-30 Thread Alex Bradbury
Also add documentation for this argument. This allows the default of 20 to be overridden, and is helpful for using the hotblocks plugin for analysis scripts that require collecting data on a larger number of blocks (e.g. setting limit=0 to dump information on all blocks). Signed-off-by: Alex

[PATCH 0/5] contrib/plugins/hotblocks: Minor bug fixes and add limit argument

2025-07-30 Thread Alex Bradbury
. Setting limit=0 and dumping information about all executed blocks is incredibly helpful for an analysis script I have downstream. This is my first contribution to QEMU. I've attempted to follow all of the guidance in the "Submitting a Patch" guide, but apologies if I missed anything. A

[PATCH 2/5] contrib/plugins/hotblocks: Fix off by one error in iteration of sorted blocks

2025-07-30 Thread Alex Bradbury
g larger. Signed-off-by: Alex Bradbury --- contrib/plugins/hotblocks.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/plugins/hotblocks.c b/contrib/plugins/hotblocks.c index d3dd23ed9f..cf4d6b8c36 100644 --- a/contrib/plugins/hotblocks.c +++ b/contrib/plugins/hot

[PATCH 4/5] docs/about/emulation: Add documentation for hotblocks plugin arguments

2025-07-30 Thread Alex Bradbury
Currently just 'inline'. Signed-off-by: Alex Bradbury --- docs/about/emulation.rst | 10 ++ 1 file changed, 10 insertions(+) diff --git a/docs/about/emulation.rst b/docs/about/emulation.rst index 456d01d5b0..9c963f4705 100644 --- a/docs/about/emulation.rst +++ b/

Re: [Qemu-devel] Idea: fuse-kvm filesystem

2012-05-10 Thread Alex Bradbury
On 10 May 2012 13:29, Avi Kivity wrote: > Currently when you mount a filesystem, you face two issues: > - you have to be root > - if the media is untrusted, it can exploit your kernel > > With kvm and fuse, we can have a virtualized kernel mount the > filesystem, and re-export to the host, which m

Re: [Qemu-devel] Qemu for simulating SoCs?

2012-02-24 Thread Alex Bradbury
On 24 February 2012 10:20, Magnus Therning wrote: > Well, true, except maybe that SystemC could be a way to write the > co-processors/peripherals on the SoC. None of this is at all relevant to mainline qemu, but you might be interested in the proceedings of the 2011 QEMU Users Forum which contain

Re: [Qemu-devel] [MASCOT CONTEST] Alex Bradbury #1

2012-02-15 Thread Alex Bradbury
On 15 February 2012 14:31, Anthony Liguori wrote: > Please respond to this note with an '+1', or an Ack, to vote for this icon. At the request of Andreas Färber, I also created a version with QEMU in all caps (as it should be): http://lists.gnu.org/archive/html/qemu-devel/2011-12/msg00229.html h

Re: [Qemu-devel] slirp-related crash

2012-02-13 Thread Alex Bradbury
On 13 February 2012 19:35, Jan Kiszka wrote: > I'm inclined to suggest a slirp rewrite (base support, not all features > at once) as a GSOC project. QEMU really deserves something better. Would it be feasible to adopt uip from kvm tool instead? https://github.com/penberg/linux-kvm/tree/master/to

Re: [Qemu-devel] Compile QEMU for android

2012-01-18 Thread Alex Bradbury
On 18 January 2012 21:33, Peter Maydell wrote: > There's an Android bug where (at least for some gcc versions) the > __builtin___clear_cache() function doesn't work. You might like to > try the test in this Android bug report: > http://code.google.com/p/android/issues/detail?id=1803 > to see if it

Re: [Qemu-devel] [PATCH RFC] pyembed: integer python into QEMU

2012-01-16 Thread Alex Bradbury
On 16 January 2012 18:22, Anthony Liguori wrote: > This is something I started during 1.0-rc on a lark and spent some time last > night actually making work.  I'm sending it only to show that (1) it's > possible > and (2) to get some input about what other people think as a longer term > directio

Re: [Qemu-devel] [PATCH 05/12] usb: add audio device model.

2012-01-06 Thread Alex Bradbury
On 6 January 2012 13:58, Gerd Hoffmann wrote: > diff --git a/hw/usb-audio.c b/hw/usb-audio.c > new file mode 100644 > index 000..c14dff3 > --- /dev/null > +++ b/hw/usb-audio.c > @@ -0,0 +1,698 @@ > +/* > + * QEMU USB Net devices Presumably s/Net/Audio Alex

Re: [Qemu-devel] KVM call agenda for Tuesday 3

2012-01-03 Thread Alex Bradbury
On 3 January 2012 10:26, Peter Maydell wrote: > I don't think we even have syntax for 2 at the moment except for the > weird special case of "-cpu foo". It currently is quite common to e.g. use a versatilepb machine model but switch the CPU for arm1176, cortex-a8 etc with -cpu. Will this still be

Re: [Qemu-devel] [PATCH] hw/9pfs: Add new security model mapped-file.

2011-12-22 Thread Alex Bradbury
On 19 December 2011 13:50, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > This enable us to do passthrough equivalent security model on NFS directory. > NFS server mostly do root squashing and don't support xattr. Hence we cannot > use 'passthrough' or 'mapped' security model > > Also add

Re: [Qemu-devel] [PATCH] qemu-test: add virtio-serial test

2011-12-22 Thread Alex Bradbury
On 22 December 2011 15:58, Eric Blake wrote: > Shell assignments do not need quoting, since they are not subject to > argument splitting or filename expansion in the first place. You're right, that was an incorrectly chosen example. > Blindly requiring double-quoting of all shell variables and c

Re: [Qemu-devel] [PATCH] qemu-test: add virtio-serial test

2011-12-22 Thread Alex Bradbury
On 22 December 2011 14:23, Anthony Liguori wrote: > This is a pretty simple test that just confirms that virtio-serial shows up > and > is writable.  It also tests the alias for virtio-serial-pci. > > Signed-off-by: Anthony Liguori > --- >  tests/virtio-serial.sh |   52 > ++

Re: [Qemu-devel] qemu Website down?

2011-12-08 Thread Alex Bradbury
On 8 December 2011 10:29, Birk Bremer wrote: > Hi, > > sorry for being off topic but I have no I idea how to reach somebody > otherwise... > > Since yesterday the Website http://www.qemu.org seems to be down > (rejecting connections). > I tried it from different IP addresses from different compute

Re: [Qemu-devel] Improve QEMU performance with LLVM codegen and other techniques

2011-12-01 Thread Alex Bradbury
On 1 December 2011 07:46, Stefan Hajnoczi wrote: > It would be interesting to use an optimized interpreter instead of TCG, > then go to LLVM for hot traces.  This is more HotSpot-like with the idea > being that the interpreter runs through initialization and rarely > executed code without a transl

Re: [Qemu-devel] [PATCH 0/5] docs: convert specifications to markdown

2011-11-15 Thread Alex Bradbury
On 15 November 2011 13:51, Avi Kivity wrote: > Does markdown support rendering into man pages? You can do this via pandoc: http://johnmacfarlane.net/pandoc/ Alex

Re: [Qemu-devel] [ICON] QEMU Mascot Contest

2011-11-11 Thread Alex Bradbury
On 11 November 2011 11:20, Stefan Hajnoczi wrote: > On Fri, Nov 11, 2011 at 8:57 AM, 陳韋任 wrote: >>  I am not a good painter or an artist, but here you go >>  http://people.cs.nctu.edu.tw/~chenwj/slide/QEMU/QEMU_Mascot.png > > Neat idea to combine the emu with the Q shape.  It would be nice to > f

Re: [Qemu-devel] QEMU Mascot Contest

2011-11-10 Thread Alex Bradbury
On 10 November 2011 22:10, Anthony Liguori wrote: > To submit an icon, just sent an email to qemu-devel with the icon and > include an [ICON] tag in the subject.  The only real rules are that the > license must be an open license that allows redistribution of derived works. >  SVG images are certa