Git Product home page Git Product logo

qemu-guest-agent's People

Contributors

aborche avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qemu-guest-agent's Issues

TrueNAS Core 13 build failure

I've have a fresh install of TrueNAS Core running on Proxmox and just cloned your repo to get the agent working and the build fails on the make command.

qemu-guest-agent/Makefile" line 152: Malformed conditional (${ARCH} == "amd64")
qemu-guest-agent/Makefile" line 156: Malformed conditional (${ARCH} == "powerpc")
qemu-guest-agent/Makefile" line 160: Malformed conditional (${ARCH} == "powerpc64")
qemu-guest-agent/Makefile" line 164: Malformed conditional (${ARCH} == "sparc64")
qemu-guest-agent/Makefile" line 168: Malformed conditional (${OSVERSION} < 1200000)
make: "/usr/share/mk/bsd.port.mk" line 32: Cannot open /usr/ports/Mk/bsd.port.mk
make: Fatal errors encountered -- cannot continue
make: stopped in qemu-guest-agent

tank01[~/qemu-guest-agent]# uname -a
FreeBSD tank01.lab.redkode.com 13.1-RC6 FreeBSD 13.1-RC6 n245364-74831eea544 TRUENAS amd64

I'll have a dig see if can work it out but thought I'd let you know too.

Martin

Incorrect RAM usage on FreeBSD 12.2 / 13.0

For some reason Proxmox VE shows ram usage at least 2x (even more) what the actual usage is on FreeBSD 12.2 / 13.0.
Guest agent is configured as "VirtIO" (possible option is also "ISA") in PVE.

qemu/2.12.1/qemu-2.12.1.tar.bz2 is not in /usr/ports/emulators/qemu/distinfo

I git clone the repo , modified /usr/ports/emulators/qemu/Makefile, and then I typed "make " in the folder QEMU-guest-agent , but I got error like below:


root@freebsd:~/qemu-guest-agent # make
===>  License GPLv2 accepted by the user
===>   qemu-guest-agent-2.12.1_1 depends on file: /usr/local/sbin/pkg - found
=> `qemu/2.12.1/qemu-2.12.1.tar.bz2` is not in /usr/ports/emulators/qemu/distinfo.
=> Either /usr/ports/emulators/qemu/distinfo is out of date, or
=> qemu/2.12.1/qemu-2.12.1.tar.bz2 is spelled incorrectly.
*** Error code 1

Stop.
make[1]: stopped in /root/qemu-guest-agent
*** Error code 1

Stop.
make: stopped in /root/qemu-guest-agent

Then I checked my /usr/ports/emulators/qemu/distinfo

TIMESTAMP = 1535379498
SHA256 (qemu/2.12.1/qemu-2.12.1.tar.xz) = 33583800e0006cd00b78226b85be5a27c8e3b156bed2e60e83ecbeb7b9b8364f
SIZE (qemu/2.12.1/qemu-2.12.1.tar.xz) = 35416404

Yes , distinct show qemu/2.12.1/qemu-2.12.1.tar.xz but your repo required qemu/2.12.1/qemu-2.12.1.tar.bz2 . How could I do ?

patch-commands-posix issue

Look like there is a issue with patch-commands-posix

`
===> License GPLv2 accepted by the user
===> qemu-guest-agent-3.1.1.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qemu-guest-agent-3.1.1.1 for building
===> Extracting for qemu-guest-agent-3.1.1.1
=> SHA256 Checksum OK for qemu/3.1.1.1/qemu-3.1.1.1.tar.xz.
===> Patching for qemu-guest-agent-3.1.1.1
===> Applying extra patch /usr/local/git/github/qemu-guest-agent/files/patch-configure
===> Applying extra patch /usr/local/git/github/qemu-guest-agent/files/patch-channel-posix
===> Applying extra patch /usr/local/git/github/qemu-guest-agent/files/patch-commands-posix
2 out of 8 hunks failed--saving rejects to qga/commands-posix.c.rej
*** Error code 1

Stop.
make[1]: stopped in /usr/local/git/github/qemu-guest-agent
*** Error code 1

Stop.
make: stopped in /usr/local/git/github/qemu-guest-agent
`

Any ideas ?

12.0-RELEASE-p11 - fresh install

Пожалуйста, оформите это как порт и создайте PR в Bugzilla

Наличие подробной документации это очень хорошо.

Но смысл портов в том, чтобы можно было полностью автоматизировано
установить софт, в том числе затем из пакета одной командой pkg install,
а не следуя разветвленной инструкции.

Желательно в FreeBSD Bugzilla сделать PR и прикрепить туда порт,
оформленный в соответствии с Porters Handbook. Если порт протестирован/поддерживает
только FreeBSD 12+, в Handbook указано, как это оформить в Makefile порта.

A lot of /bin/df -Ht zombie Process

I'm using KVM on oVirt 4.4.5. If we install the agent, it will work correctly, but it always create a lot of /bin/df -Ht zombie process which actually make our VM hang (because a lot of process spawned). Using FreeBSD 12.2 and 13 with i440fx.

Perl Version

Make errors with:
@bsdbuild:~/qemu-guest-agent # make
===> qemu-guest-agent-2.9.0_1 Invalid perl5 version 5.28.
*** Error code 1

Stop.
make: stopped in /root/qemu-guest-agent

Memory Usage Support

Should this support memory usage?

I have been through the build process and I have successfully got the agent up and running on a TrueNAS system that is running inside Proxmox.

For the most part, it is working which is great. I can now shutdown or reboot TrueNAS from the Proxmox UI and I also get network information relayed into the Proxmox UI.

The one thing I noticed straight away was that the amount of memory Proxmox was showing the TrueNAS VM as using was still pretty much 100% which isn't correct. Should it correctly report the memory usage through the agent? Is there any further config I need to do to make this work?

Thanks,

Damien

make: "/usr/share/mk/bsd.port.mk" line 32: Cannot open /usr/ports/Mk/bsd.port.mk

root@truecommand:/usr/ports/emulators/qemu-guest-agent # make
make: "/usr/share/mk/bsd.port.mk" line 32: Cannot open /usr/ports/Mk/bsd.port.mk
make: "/usr/ports/emulators/qemu-guest-agent/Makefile" line 150: Malformed conditional (${ARCH} == "amd64")
make: "/usr/ports/emulators/qemu-guest-agent/Makefile" line 154: Malformed conditional (${ARCH} == "powerpc")
make: "/usr/ports/emulators/qemu-guest-agent/Makefile" line 158: Malformed conditional (${ARCH} == "powerpc64")
make: "/usr/ports/emulators/qemu-guest-agent/Makefile" line 162: Malformed conditional (${ARCH} == "sparc64")
make: "/usr/share/mk/bsd.port.mk" line 32: Cannot open /usr/ports/Mk/bsd.port.mk
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/ports/emulators/qemu-guest-agent

Updates? Install? Downloadable Binary package?

Any progress on getting the project listed as a FreeBSD port??
If not, has any effort been made to produce an installable binary package (or how would I install this package)?

For what it's worth: I see this note in the Google search I did for qemu-guest-agent:
Site: pfsense Forums - Feature #9877: QEMU Guest Agent

It looks like that port has not been added to FreeBSD yet. The linked PR shows they added some code to the main qemu port to not break that port when building qemu-guest-agent, but there is no emulators/qemu-guest-agent in the FreeBSD ports tree.

I am pretty new to system administration, so my apologies if this message has no bearing.
Edit: clarity

upstreaming patches ?

are you planning to someday/somehow upstream your patches ? according to https://wiki.qemu.org/Contribute/SubmitAPatch it doesnt look impossible, and would be nice. I dont see any previous attempt in the qemu-devel mailing list archive.

just asking, as an OpenBSD contributor backported/reused your patchset to make guest-get-vcpu, guest-network-get-interfaces and guest-get-fsinfo to work on OpenBSD, cf https://marc.info/?l=openbsd-ports&m=161788326331605&w=2 (full thread: https://marc.info/?t=158936393000001&r=1&w=2) - i've tested those and it works fine on top of qemu-6.0rc2. as its a rather large patch, on the longterm simpler to try to upstream it ? i can work on that part, unless you're planning to.

Support for newer version

I found there are some patches in the upstream for FreeBSD
https://patchew.org/QEMU/[email protected]/
qga: Add initial FreeBSD support
qga: Move Linux-specific FS freeze/thaw code to a separate file
qga: Add UFS freeze/thaw support for FreeBSD
qga: Add shutdown/halt/reboot support for FreeBSD
qga: Add support for user password setting in FreeBSD
qga: Move HW address getting to a separate function
qga: Add HW address getting for FreeBSD

Maybe it can help you with porting newer versions of QEMU Guest Agent.

Thanks

Just installed this on FreeBSD 11 and it works fine (I need it to retrieve the network info from the VM).
Thanks

PS: Tried to also install it on pfSense, but their kernel is missing a lot of the virtio stuff needed to make this work, alas.

Support for HardenedBSD - 12.2--HBSD

Hi,

I tried to install, but I can't.
From what I notice it is for version QEMU 4.1.1.
But this version is older.

In the port system, I now find QEMU 5.0.1.
Could you help me with this issue?

logs.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.