RE: NFS mount from Qemu guest?

2024-07-09 Thread Vadim Idelchuk
Hi,

I solved this problem by other way.

1. I defined on host NFS server with exported folder
2.IP address of the host I transferred to QEMU guest (Linux) as part IP
parameters as gateway IP together with guest IP address and subnet mask.
3.I created startup service that parsed the kernel IP parameters and mounted
as NFS client to the exported folder

Best regards

Vadim Idelchuk

vadim.idelc...@mail.ru

-Original Message-
From: qemu-discuss-bounces+vadim.idelchuk=mail...@nongnu.org
[mailto:qemu-discuss-bounces+vadim.idelchuk=mail...@nongnu.org] On Behalf Of
Andrew Klaassen
Sent: יום ג 09 יולי 2024 19:55
To: qemu-discuss@nongnu.org
Subject: NFS mount from Qemu guest?

I've been trying to get an NFS share mounted on a Qemu guest from an NFS
server which does not allow connections from unprivileged ports.

I have tried a bunch of different guestfwd options, thinking that they might
help me get my outgoing connections from the guest back down into the
privileged port range, but so far no luck.

Here's the basic command I'm running.  It's based on the Qemu command
generated by Packer, which is what I'm ultimately trying to get working:

/usr/local/bin/qemu-system-x86_64 -serial stdio -boot once=d -drive
file=v001.qcow2,if=virtio,cache=writeback,discard=ignore,format=qcow2 -drive
file=systemrescue-11.01-amd64.iso,media=cdrom -m 2048M -vnc 127.0.0.1:33
-cpu host -smp 1 -name packer-centos7 -device virtio-net,netdev=user.0
-machine type=pc,accel=kvm -netdev
user,id=user.0,hostfwd=tcp::2262-:22,guestfwd=

For the guestfwd= clause, I've tried things like:

guestfwd=tcp:10.0.2.100:111-cmd:netcat 10.31.32.15
111,guestfwd=tcp:10.0.2.100:2049-cmd:netcat 10.31.32.15
2049,guestfwd=tcp:10.0.2.100:300-cmd:netcat 10.31.32.15 300 ...the outgoing
connections still come from unprivileged ports

guestfwd=tcp:0.0.0.0:700-tcp:10.0.2.2:700
...with "sysctl -w sunrpc.min_resvport=700; sysctl -w
sunrpc.max_resvport=700" in the guest before trying the NFS mount ...same,
outgoing connections still come from unprivileged ports

guestfwd=tcp::700-tcp:10.0.2.2:700 ...this one breaks VNC for
some reason and I can't reach the guest to try anything

There are a bunch of other random things I've tried, too.  I obviously don't
understand what I'm doing.  Does anybody have a recipe for making this work?
Is guestfwd even the correct option to use for this?

Thanks.

Andrew





--
Это сообщение было проверено антивирусным ПО Avast на наличие вирусов.
www.avast.com



RE: Xilinx zcu102 machine is absent in list of supported machines

2024-03-05 Thread Vadim Idelchuk
Hi,

Thank you very much - the problem solved.

Best regards

Vadim Idelchuk

vadim.idelc...@mail.ru


-Original Message-
From: qemu-discuss-bounces+vadim.idelchuk=mail...@nongnu.org 
[mailto:qemu-discuss-bounces+vadim.idelchuk=mail...@nongnu.org] On Behalf Of 
Peter Maydell
Sent: Tuesday, March 5, 2024 9:47 PM
To: Vadim Idelchuk 
Cc: qemu-discuss@nongnu.org
Subject: Re: Xilinx zcu102 machine is absent in list of supported machines

On Tue, 5 Mar 2024 at 18:31, Vadim Idelchuk via  wrote:
> The additional information about my build:

Thanks for that. Yeah, you're missing only this machine type.
I had a poke around in the config files, and I think this is because the 
machine has a dependency on pixman, so if configure doesn't find the pixman 
library dev files, it will disable all the optional things that need pixman, 
including this machine type.

If you pass configure "--enable-pixman" it should produce an error if you're 
missing the necessary files to build the pixman related parts of QEMU. 
Depending on your host distro the required package name might vary, but on 
Debian/Ubuntu it is libpixman-1-dev.

thanks
-- PMM



--
This email has been checked for viruses by Avast antivirus software.
www.avast.com



RE: Xilinx zcu102 machine is absent in list of supported machines

2024-03-05 Thread Vadim Idelchuk
 (ARM926EJ-S)

sx1  Siemens SX1 (OMAP310) V2

sx1-v1   Siemens SX1 (OMAP310) V1

tacoma-bmc   OpenPOWER Tacoma BMC (Cortex-A7)

terrier  Sharp SL-C3200 (Terrier) PDA (PXA270)

tiogapass-bmcFacebook Tiogapass BMC (ARM1176)

tosa Sharp SL-6000 (Tosa) PDA (PXA255)

verdex   Gumstix Verdex Pro XL6P COMs (PXA270)

versatileab  ARM Versatile/AB (ARM926EJ-S)

versatilepb  ARM Versatile/PB (ARM926EJ-S)

vexpress-a15 ARM Versatile Express for Cortex-A15

vexpress-a9  ARM Versatile Express for Cortex-A9

virt-2.10QEMU 2.10 ARM Virtual Machine

virt-2.11QEMU 2.11 ARM Virtual Machine

virt-2.12QEMU 2.12 ARM Virtual Machine

virt-2.6 QEMU 2.6 ARM Virtual Machine

virt-2.7 QEMU 2.7 ARM Virtual Machine

virt-2.8 QEMU 2.8 ARM Virtual Machine

virt-2.9 QEMU 2.9 ARM Virtual Machine

virt-3.0 QEMU 3.0 ARM Virtual Machine

virt-3.1 QEMU 3.1 ARM Virtual Machine

virt-4.0 QEMU 4.0 ARM Virtual Machine

virt-4.1 QEMU 4.1 ARM Virtual Machine

virt-4.2 QEMU 4.2 ARM Virtual Machine

virt-5.0 QEMU 5.0 ARM Virtual Machine

virt-5.1 QEMU 5.1 ARM Virtual Machine

virt-5.2 QEMU 5.2 ARM Virtual Machine

virt-6.0 QEMU 6.0 ARM Virtual Machine

virt-6.1 QEMU 6.1 ARM Virtual Machine

virt-6.2 QEMU 6.2 ARM Virtual Machine

virt-7.0 QEMU 7.0 ARM Virtual Machine

virt-7.1 QEMU 7.1 ARM Virtual Machine

virt-7.2 QEMU 7.2 ARM Virtual Machine

virt-8.0 QEMU 8.0 ARM Virtual Machine

virt-8.1 QEMU 8.1 ARM Virtual Machine

virt-8.2 QEMU 8.2 ARM Virtual Machine

virt QEMU 9.0 ARM Virtual Machine (alias of virt-9.0)

virt-9.0 QEMU 9.0 ARM Virtual Machine

witherspoon-bmc  OpenPOWER Witherspoon BMC (ARM1176)

xilinx-zynq-a9   Xilinx Zynq Platform Baseboard for Cortex-A9

xlnx-versal-virt Xilinx Versal Virtual development board

yosemitev2-bmc   Facebook YosemiteV2 BMC (ARM1176)

z2   Zipit Z2 (PXA27x)



The machine zcu-102 is absent in the list





Best regards



Vadim Idelchuk



vadim.idelc...@mail.ru





-Original Message-
From: qemu-discuss-bounces+vadim.idelchuk=mail...@nongnu.org 
[mailto:qemu-discuss-bounces+vadim.idelchuk=mail...@nongnu.org] On Behalf Of 
Peter Maydell
Sent: Monday, March 4, 2024 1:45 PM
To: Vadim Idelchuk 
Cc: qemu-discuss@nongnu.org
Subject: Re: Xilinx zcu102 machine is absent in list of supported machines



On Mon, 4 Mar 2024 at 11:20, Vadim Idelchuk via < 
<mailto:qemu-discuss@nongnu.org> qemu-discuss@nongnu.org> wrote:

> For building the products I run the following:

>

> ./configure

>

> make

>

>

>

> I tried these sequence number of times with the same result - machine

> type xlnx-zcu102 is absent in the list of supported machines



What is the exact command line you are running to check that the machine is not 
present? Are you definitely running

qemu-system-aarch64 (not qemu-system-arm !), and is it definitely the version 
you just built?



-- PMM





--
This email has been checked for viruses by Avast antivirus software.
www.avast.com

RE: Xilinx zcu102 machine is absent in list of supported machines

2024-03-04 Thread Vadim Idelchuk
 

For building the products I run the following:

./configure

make

 

I tried these sequence number of times with the same result - machine type
xlnx-zcu102 is absent in the list of supported machines

 

 

Best regards

 

Vadim Idelchuk

 

vadim.idelc...@mail.ru

 



-- 
This email has been checked for viruses by Avast antivirus software.
www.avast.com

Xilinx zcu102 machine is absent in list of supported machines

2024-03-03 Thread Vadim Idelchuk

Hi.
I built the latest version of QEMU - v8.2.0-1528-g5767815218.
But the machine xlnx-zcu102 is absent in the list of supported machines.
Is it need any additional definitions for building?
--
Отправлено из Mail.ru для Android