Re: Qemu Agent assistance needed

2019-04-29 Thread Strahil Nikolov
Great.
What about CPU/RAM usage. Do you believe it will be possible to report it to 
the  management layer ?
If not - there will be no use of qemu-ga at all on openBSD.

Best Regards,
Strahil Nikolov


On April 29, 2019 2:49:43 PM GMT+03:00, Stuart Henderson  
wrote:
>On 2019-04-29, Strahil Nikolov  wrote:
>> Yes , but not only.
>> I'm using oVirt - a KVM management tool and I can currently make a
>snapshot only by pausing the VM or by completely stopping it first.
>> For now, it's not a big deal - as I'm still exploring openBSD , but
>who knows.
>> Also the management interface cannot provide details about CPU and
>RAM usage , nor I cannot gracefully shut the VM down from the
>interface.
>> The oVirt manager allows automatic evacuation of the VM, if it
>requires more memory/cpu than the host can currently providing (for a
>lab overcommitting is normal).
>>
>> I'm just looking to enable those fancy things that make our life
>easier.
>
>qemu-ga needs a way to communicate with the kernel to tell it to stop
>filesystem activity etc.  OpenBSD doesn't support this.



Re: Qemu Agent assistance needed

2019-04-29 Thread Stuart Henderson
On 2019-04-29, Strahil Nikolov  wrote:
> Yes , but not only.
> I'm using oVirt - a KVM management tool and I can currently make a snapshot 
> only by pausing the VM or by completely stopping it first.
> For now, it's not a big deal - as I'm still exploring openBSD , but who knows.
> Also the management interface cannot provide details about CPU and RAM usage 
> , nor I cannot gracefully shut the VM down from the interface.
> The oVirt manager allows automatic evacuation of the VM, if it requires more 
> memory/cpu than the host can currently providing (for a lab overcommitting is 
> normal).
>
> I'm just looking to enable those fancy things that make our life easier.

qemu-ga needs a way to communicate with the kernel to tell it to stop
filesystem activity etc.  OpenBSD doesn't support this.




Re: Qemu Agent assistance needed

2019-04-29 Thread Jiri B
QGA depends on specific device name in /dev. Ideally the best would be
kernel-based support like vmt.

Dne po 29. 4. 2019 10:03 uživatel Solene Rapenne  napsal:

> On Sun, Apr 28, 2019 at 11:10:14AM +, Strahil Nikolov wrote:
> > Hi All,
> > I am new to openBSD and I really like the idea. Sadly I do not have
> > suitable hardware to run on , thus I use KVM and I would be happy if
> > anyone hint me of a working solution for Qemu Guest Agent.
> > Anything I dig up (via google searches) show up only suggestions , but
> > nothing more.In openBSD 6.4  I successfully installed qemu (and thus
> > the agent), but I can't understand how to get the device needed for
> > communication with the host up and running.
> > As I mainly know linux - I know that we need a kernel module that to
> > be loaded and with combination of udev rules - the devices is created
> > on the necessary location and with the correct rights.According to
> > many google findings - openBSD doesn't support any more loadable
> > kernel module support.
> > I have tried to figure it out by myself, but I cannot find the
> > necessary module needed, nor how to load it in a proper manner.
> > Any hint is well appreciated.
> > Best Regards,Strahil Nikolov
> >
>
> qemu on openbsd doesn't support any hardware acceleration, and the
> available version is quite old.
>
> I'm not sure it is compatible with libvirt.
>
>


Re: Qemu Agent assistance needed

2019-04-29 Thread Strahil Nikolov
I have installed qemu, as qemu-ga cannot be installed standalone.

I qm trying to have snapshots without pausing the VM and to provide basic 
functionality from host.

Best Regards,
Strahil Niolov

On April 29, 2019 11:00:42 AM GMT+03:00, Solene Rapenne  wrote:
>On Sun, Apr 28, 2019 at 11:10:14AM +, Strahil Nikolov wrote:
>> Hi All,
>> I am new to openBSD and I really like the idea. Sadly I do not have
>> suitable hardware to run on , thus I use KVM and I would be happy if
>> anyone hint me of a working solution for Qemu Guest Agent.
>> Anything I dig up (via google searches) show up only suggestions ,
>but
>> nothing more.In openBSD 6.4  I successfully installed qemu (and thus
>> the agent), but I can't understand how to get the device needed for
>> communication with the host up and running.
>> As I mainly know linux - I know that we need a kernel module that to
>> be loaded and with combination of udev rules - the devices is created
>> on the necessary location and with the correct rights.According to
>> many google findings - openBSD doesn't support any more loadable
>> kernel module support.
>> I have tried to figure it out by myself, but I cannot find the
>> necessary module needed, nor how to load it in a proper manner.
>> Any hint is well appreciated.
>> Best Regards,Strahil Nikolov  
>> 
>
>qemu on openbsd doesn't support any hardware acceleration, and the
>available version is quite old.
>
>I'm not sure it is compatible with libvirt.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: Qemu Agent assistance needed

2019-04-29 Thread Solene Rapenne
On Sun, Apr 28, 2019 at 11:10:14AM +, Strahil Nikolov wrote:
> Hi All,
> I am new to openBSD and I really like the idea. Sadly I do not have
> suitable hardware to run on , thus I use KVM and I would be happy if
> anyone hint me of a working solution for Qemu Guest Agent.
> Anything I dig up (via google searches) show up only suggestions , but
> nothing more.In openBSD 6.4  I successfully installed qemu (and thus
> the agent), but I can't understand how to get the device needed for
> communication with the host up and running.
> As I mainly know linux - I know that we need a kernel module that to
> be loaded and with combination of udev rules - the devices is created
> on the necessary location and with the correct rights.According to
> many google findings - openBSD doesn't support any more loadable
> kernel module support.
> I have tried to figure it out by myself, but I cannot find the
> necessary module needed, nor how to load it in a proper manner.
> Any hint is well appreciated.
> Best Regards,Strahil Nikolov  
> 

qemu on openbsd doesn't support any hardware acceleration, and the
available version is quite old.

I'm not sure it is compatible with libvirt.



Re: Qemu Agent assistance needed

2019-04-28 Thread Strahil Nikolov
Yes , but not only.
I'm using oVirt - a KVM management tool and I can currently make a snapshot 
only by pausing the VM or by completely stopping it first.
For now, it's not a big deal - as I'm still exploring openBSD , but who knows.
Also the management interface cannot provide details about CPU and RAM usage , 
nor I cannot gracefully shut the VM down from the interface.
The oVirt manager allows automatic evacuation of the VM, if it requires more 
memory/cpu than the host can currently providing (for a lab overcommitting is 
normal).

I'm just looking to enable those fancy things that make our life easier.

Best Regards,
Strahil Nikolov

On April 29, 2019 12:07:32 AM GMT+03:00, Tom Smyth 
 wrote:
>Hello Strahil,
>what are you trying to achieve with the Qemu Guest Agent ?
>
>is it  quiescing during backups .>?
>
>
>
>
>
>
>On Sun, 28 Apr 2019 at 20:59, Kristjan Komloši
> wrote:
>>
>> On Sun, 2019-04-28 at 11:10 +, Strahil Nikolov wrote:
>> > Hi All,
>> > I am new to openBSD and I really like the idea. Sadly I do not have
>> > suitable hardware to run on , thus I use KVM and I would be happy
>if
>> > anyone hint me of a working solution for Qemu Guest Agent.
>> > Anything I dig up (via google searches) show up only suggestions ,
>> > but nothing more.In openBSD 6.4  I successfully installed qemu (and
>> > thus the agent), but I can't understand how to get the device
>needed
>> > for communication with the host up and running.
>> > As I mainly know linux - I know that we need a kernel module that
>to
>> > be loaded and with combination of udev rules - the devices is
>created
>> > on the necessary location and with the correct rights.According to
>> > many google findings - openBSD doesn't support any more loadable
>> > kernel module support.
>> > I have tried to figure it out by myself, but I cannot find the
>> > necessary module needed, nor how to load it in a proper manner.
>> > Any hint is well appreciated.
>> > Best Regards,Strahil Nikolov
>>
>> Kernel modules don't exist under OpenBSD to ensure security, so don't
>> go there. Communication with host is probably best done through the
>> serial console. Take a look at the boot.conf(8) manpage.
>>

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: Qemu Agent assistance needed

2019-04-28 Thread Tom Smyth
Hello Strahil,
what are you trying to achieve with the Qemu Guest Agent ?

is it  quiescing during backups .>?






On Sun, 28 Apr 2019 at 20:59, Kristjan Komloši
 wrote:
>
> On Sun, 2019-04-28 at 11:10 +, Strahil Nikolov wrote:
> > Hi All,
> > I am new to openBSD and I really like the idea. Sadly I do not have
> > suitable hardware to run on , thus I use KVM and I would be happy if
> > anyone hint me of a working solution for Qemu Guest Agent.
> > Anything I dig up (via google searches) show up only suggestions ,
> > but nothing more.In openBSD 6.4  I successfully installed qemu (and
> > thus the agent), but I can't understand how to get the device needed
> > for communication with the host up and running.
> > As I mainly know linux - I know that we need a kernel module that to
> > be loaded and with combination of udev rules - the devices is created
> > on the necessary location and with the correct rights.According to
> > many google findings - openBSD doesn't support any more loadable
> > kernel module support.
> > I have tried to figure it out by myself, but I cannot find the
> > necessary module needed, nor how to load it in a proper manner.
> > Any hint is well appreciated.
> > Best Regards,Strahil Nikolov
>
> Kernel modules don't exist under OpenBSD to ensure security, so don't
> go there. Communication with host is probably best done through the
> serial console. Take a look at the boot.conf(8) manpage.
>


-- 
Kindest regards,
Tom Smyth.



Re: Qemu Agent assistance needed

2019-04-28 Thread Kristjan Komloši
On Sun, 2019-04-28 at 11:10 +, Strahil Nikolov wrote:
> Hi All,
> I am new to openBSD and I really like the idea. Sadly I do not have
> suitable hardware to run on , thus I use KVM and I would be happy if
> anyone hint me of a working solution for Qemu Guest Agent.
> Anything I dig up (via google searches) show up only suggestions ,
> but nothing more.In openBSD 6.4  I successfully installed qemu (and
> thus the agent), but I can't understand how to get the device needed
> for communication with the host up and running.
> As I mainly know linux - I know that we need a kernel module that to
> be loaded and with combination of udev rules - the devices is created
> on the necessary location and with the correct rights.According to
> many google findings - openBSD doesn't support any more loadable
> kernel module support.
> I have tried to figure it out by myself, but I cannot find the
> necessary module needed, nor how to load it in a proper manner.
> Any hint is well appreciated.
> Best Regards,Strahil Nikolov  

Kernel modules don't exist under OpenBSD to ensure security, so don't
go there. Communication with host is probably best done through the
serial console. Take a look at the boot.conf(8) manpage.