Guestinfo alike info polling from Guest via guest-agent

2024-11-21 Thread Florian Lohoff via

Hi,
is there a way with qemu-guest-agent to push infos down to the
hypervisor?

In VMWare one cat set guestinfo variables from within the guest which
can then be retrieved from the Hypervisor. This enables a trusted way to
pass on information for example ssh host keys which we use after
installation.

We try to avoid connecting with -o stricthostkeychecking=no and
insecurities alike. So having an off-channel method of retrieving
ssh keys would be nice.

Flo
-- 
Florian Lohoff f...@zz.de
  Any sufficiently advanced technology is indistinguishable from magic.


signature.asc
Description: PGP signature


Re: PASST networking with onboard NIC

2024-11-21 Thread Lytle, Ben
>>> I have a question about the proper way to use passt networking with a 
>>> machine's onboard
>>> NIC (ie. without specifying a |-device|).
>>> Is there a way to connect |-netdev 
>>> stream,id=net0,server=off,addr.type=unix,addr.path=/
>>> tmp/passt_1.socket| to an onboard nic using |-nic| ?
>>
>> No, I don't think the -nic option is able to parse the stream backend 
>> parameters (like
>> "addr.type", "addr.path", ...).
>>
>> I figured that was the case, as I've tried many combinations for those 
>> options.
>> I appreciate the confirmation!
>
> I think you might be able to work-around the problem by using the legacy 
> "-net nic" option:
>
> -netdev 
> stream,id=net0,server=off,addr.type=unix,addr.path=/tmp/passt_1.socket -net 
> nic,netdev=net0

Thanks for the suggestion, Thomas. I tried that out, but still no luck.
I guess it's not possible to do this in qemu quite yet.

Ben