when the target encounters the instruction
would be good. Additionally, the ability to force the translation of
arbitrary encodings would be good. I would like to not have to engineer
some binary file format.
On Wed, Jul 20, 2022 at 1:37 PM Peter Maydell
wrote:
> On Wed, 20 Jul 2022 at 17
st to understand the TCG documentation but
this appears to not be too straightforward.
On Fri, Jul 22, 2022 at 5:31 AM Alex Bennée wrote:
>
> Kenneth Adam Miller writes:
>
> > I need to determine the set of instruction encodings that the TCG can
> support for a given platform. I am n
Hello all,
How can I call the QEMU disassembler to run on an argument set of bytes?
Actually, I have gotten the QEMU disassembler to run with some short
customization. But I am having trouble understanding the output. I see lots
of lines like this:
|
OBJD-H: 06040102a83507000cd8027620272573004c04cd20c100782244038c
On Sun, Jun 26, 2022 at 11:00 PM Kenneth Adam Miller
Hello all,
I just want to pose the following problem:
There is a kernel module for a non-native architecture, say, arch 1. For
performance reasons, the rest of all of the software needs to run natively
on a different arch, arch 2. Is there any way to perhaps run multiple QEMU
instances for the di
The source for it isn't available in order that it be compiled to the
desired architecture.
What 3rd party forks take this approach?
On Wed, Jan 19, 2022 at 2:06 PM Alex Bennée wrote:
>
> Kenneth Adam Miller writes:
>
> > Hello all,
> >
> > I just wa
Would it be possible somehow to save the TCG cache, as with user binaries,
but for a kernel module, before then loading that kernel module into memory
the target architecture whether in or outside of QEMU?
On Wed, Jan 19, 2022 at 2:42 PM Kenneth Adam Miller <
kennethadammil...@gmail.com>
Hello all,
I would like to emulate something on a pi so that I don't have to pay as
high of a translation penalty since the guest and host will share the same
arch. I'm finding that on some forums that people have been having trouble
getting QEMU to run on raspberry pi. The posts are kind of old,
Hello all,
Suppose I am wanting to implement and test for the TCG. Is there any set of
interactive binaries or other things that I could use to work with it?
Could I open a shell to it? Perhaps feed it specific byte sequences for
tests to ensure correct operation? Are there a canonical set of uni
Hello,
I'm on commit bd80b59 and my host is:
$lsb_release -s
...
Description: Pop!_OS 20.04 LTS
Release: 20.04In file included from
...
I get a compile error:
...
/home/kennethadammiller/workspace/vm_escape/qemu/include/hw/xen/xen_backend.h:4,
from
/home/kennethadammiller/worksp
I got this to build following option 2 listed and it built with ubuntu
18.04.
On Sat, Sep 7, 2024 at 4:45 AM Peter Maydell
wrote:
> On Sat, 7 Sept 2024 at 07:39, Michael Tokarev wrote:
> >
> > 07.09.2024 02:59, Kenneth Adam Miller wrote:
> > > Hello,
> > >
&
Hello,
I've got qemu built and now I need to figure out how to run it with what
I've got. I have a vmlinux and a bzImage that I want to serve as the kernel
that QEMU runs with, and a single binary, let's just call it
literally `program`, that I want to issue a command to run once QEMU boots
with t
\
-append "console=ttyS0 nokaslr" \
-initrd ramdisk.img \
-boot c -kernel $HOME/workspace/kvmctf-6.1.74/bzImage/bzImage
On Sat, Sep 7, 2024 at 2:58 PM Kenneth Adam Miller <
kennethadammil...@gmail.com> wrote:
> Hello,
>
> I've got qemu built and now I
Hello,
I would like to be able to, from the linux-user/main.c, access the target's
registered TranslatorOps instance. How would I do that when 1) the TCG is
correctly initialized and ready to run 2) before QEMU starts to run or when
it is safely paused?
I have
to query and interact with the TCG to find out what opcodes are supported
or not.
On Wed, Jul 20, 2022 at 4:46 AM Alex Bennée wrote:
>
> Kenneth Adam Miller writes:
>
> > Hello,
> >
> > I would like to be able to, from the linux-user/main.c, access the
> ta
Hello all,
I'm starting to develop with the surrounding qemu libraries trying to add
the internals of a system target. I am working with the type system right
now, which I do know how to interact with. I think there is like some way
to script or interact with the qemu periphery via a cli. I found
Hello,
I am working on a qemu target under development. and I am wondering how I
should differentiate the MachineState from the MachineClass.
If I am right, the softmmu/system build target for each
architecture subsumes the source of the user target. It's what I see in the
build of i386. But then, I think the user targets have some dedicated user
layer which allow a foreign architecture user binary to be relayed through
in order to map t
M Peter Maydell
wrote:
> On Thu, 15 Jul 2021 at 16:59, Kenneth Adam Miller
> wrote:
> >
> > If I am right, the softmmu/system build target for each architecture
> subsumes the source of the user target.
>
> I'm not sure what you mean by "subsumes" here.
Oh I didn't know that there was a i386_user_ss in order to see that it was
intended that they were shared that way, so I initially thought that
i386_ss was user only until I saw it in the build.
On Thu, Jul 15, 2021 at 11:35 AM Peter Maydell
wrote:
> On Thu, 15 Jul 2021 at 17:25, Kenn
hu, Jul 15, 2021 at 11:39 AM Kenneth Adam Miller <
kennethadammil...@gmail.com> wrote:
> Oh I didn't know that there was a i386_user_ss in order to see that it was
> intended that they were shared that way, so I initially thought that
> i386_ss was user only until I saw it in the b
ared.
On Fri, Jul 16, 2021 at 10:38 AM Peter Maydell
wrote:
> On Fri, 16 Jul 2021 at 16:16, Kenneth Adam Miller
> wrote:
> >
> > When I go to build the qemu softmmu target the shared files - the
> i386_ss of my arch - gives problems where the build system isn't speci
ar to me as I'm
just becoming familiar with the code base.
On Fri, Jul 16, 2021 at 1:05 PM Peter Maydell
wrote:
> On Fri, 16 Jul 2021 at 18:50, Kenneth Adam Miller
> wrote:
> > There's a lot of files and I don't want to muddy up the discussion with
> too many detai
After checking around, I don't see any _user_ss in any target
directory. And I only see *_user_ss in the linux-user subdirectory. Were
you talking about that meson.build in linux-user?
On Fri, Jul 16, 2021 at 1:20 PM Kenneth Adam Miller <
kennethadammil...@gmail.com> wrote:
> Righ
Hello all,
I'm getting a strange error while doing some system target development. In
the periphery of the qemu internals (things specifically other than the
target), I'm getting uninitialized variable errors. I'm pretty sure I can't
submit a patch to modify those internals, so I was wondering how
Hello,
I get the following error:
-c ../accel/tcg/cputlb.c
../qemu/accel/tcg/cputlb.c: In function 'tlb_flush_page_by_mmuidx':
../qemu/accel/tcg/cputlb.c:602:23: error: comparison is always true due to
limited range of data type [-Werror=type-limits]
} else if (idxmap < TARGET_PAGE_SIZE) {
I saw that TARGET_PAGE_SIZE gets a value that depends on TARGET_PAGE_BITS
using tags and grep, but I did not see either of them take a value that is
beyond the idxmap size.
On Tue, Jul 20, 2021 at 5:07 AM Peter Maydell
wrote:
> On Mon, 19 Jul 2021 at 23:20, Kenneth Adam Miller
>
ell
> wrote:
> >
> > On Tue, 20 Jul 2021 at 10:06, Peter Maydell
> wrote:
> > >
> > > On Mon, 19 Jul 2021 at 23:20, Kenneth Adam Miller
> > > wrote:
> > > >
> > > > Hello,
> > > >
> > > > I get the f
Hello,
I think I need a concurrent radix tree that is written to work with atomic
updates. I would like to ask if anyone knows of one within qemu? Or at
least to efficiently obtain the page address/mmu index corresponding for a
given address.
Is there any documentation on cpu_mmu_index? Each tar
Hello,
I am trying to discover how to schedule QEMU to begin actual emulation as
currently my target correctly starts QEMU but only shows the shell, and not
even boot loading occurs within QEMU. I'm trying to learn from example, and
so will focus my questions only on X86. I can see the MachineClas
Hello,
I was wondering if the meson build system is symbolic when initializing
variables? For example, I have:
var1=ss.source_set()
var2=ss.source_set()
And in the body of the rest of meson.build there are mutually exclusive
additions to var1 and var2. When I go to configure and build, I configu
Hello all,
I just want to ask this one question: if I change the qemu tcg cache size (
TB_JMP_CACHE_SIZE), will that force any errors at run time?
54 AM Alex Bennée wrote:
>
> Kenneth Adam Miller writes:
>
> > Hello all,
> >
> > I just want to ask this one question: if I change the qemu tcg cache
> > size (TB_JMP_CACHE_SIZE), will that force any errors at run time?
>
> Hopefully not - for both user-mo
ck in to make sure that that wasn't it.
I can't see it right now, I was just looking into it.
On Wed, Sep 22, 2021 at 1:39 PM Alex Bennée wrote:
>
> Kenneth Adam Miller writes:
>
> > Well, maybe I'm understanding that wrong. I am talking the cache that
> the
Also, that command flag was *really really buried, and I couldn't find it
at all in the help.
On Wed, Sep 22, 2021 at 1:50 PM Kenneth Adam Miller <
kennethadammil...@gmail.com> wrote:
> It's just the overhead of running a cross architecture emulation. For Arm
> to x86_64
Hello,
I just wanted to ask how I can get started developing other than just
starting building? QEMU is a huge project, and getting familiar with all of
the source and stuff is a lot of work. Probably, it wouldn't be helpful to
know the entire source, but just what I need.
I want to add a new sys
36 matches
Mail list logo