Skip to contentSkip to conversation

Framework for libxl interfacing with qemu monitor

DISCUSSION Chun Yan Liu 5 participants 6 messages Jun 7, 2011 – Jun 8, 2011

lore
Share & tools
lore
#0 lore raw

Hi, list,

Is there any plan to add a framework for libxl interfacing with qemu monitor (like what libvrit does)? What's the status now?

Thanks,
Chunyan

#1 lore raw
Quoted 4 lines · Chun Yan Liu

Hi, list,

Is there any plan to add a framework for libxl interfacing with qemu monitor (like what libvrit does)? What's the status now?

With the upstream qemu the plan is to use QMP to communicate with qemu from libxl. Anthony Perard posted an early version of his patch to do this yesterday.

For the qemu-xen tree most such communication is done via xenstore and there is no current plan to integrate with the monitor (nor any need AFAIK).

What are you trying to achieve?

Ian.

#2 lore raw
Quoted 12 lines · Ian Campbell
Quoted 5 lines · Chun Yan Liu

Hi, list,

Is there any plan to add a framework for libxl interfacing with qemu monitor (like what libvrit does)? What's the status now?

With the upstream qemu the plan is to use QMP to communicate with qemu from libxl. Anthony Perard posted an early version of his patch to do this yesterday.

Quoted 6 lines

For the qemu-xen tree most such communication is done via xenstore and there is no current plan to integrate with the monitor (nor any need AFAIK).

What are you trying to achieve?

Plumb change-vnc-password through libxl IIRC.

Regards,
Jim

#3 lore raw
Quoted 11 lines · Jim Fehlig
Quoted 10 lines · Ian Campbell
Quoted 4 lines · Chun Yan Liu

Hi, list,

Is there any plan to add a framework for libxl interfacing with qemu monitor (like what libvrit does)? What's the status now?

With the upstream qemu the plan is to use QMP to communicate with qemu from libxl. Anthony Perard posted an early version of his patch to do this yesterday.

Quoted 7 lines
Quoted 5 lines

For the qemu-xen tree most such communication is done via xenstore and there is no current plan to integrate with the monitor (nor any need AFAIK).

What are you trying to achieve?

Plumb change-vnc-password through libxl IIRC.

Yes, we want to support change vnc password while VM is running. qemu monitor already has that part of code, if libxl will have interface with qemu monitor, then we can do change vnc password through libxl easily.

Thanks,
Chunyan

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 16 lines · Chun Yan Liu
Quoted 15 lines · Jim Fehlig
Quoted 14 lines · Ian Campbell
Quoted 4 lines · Chun Yan Liu

Hi, list,

Is there any plan to add a framework for libxl interfacing with qemu monitor (like what libvrit does)? What's the status now?

With the upstream qemu the plan is to use QMP to communicate with qemu from libxl. Anthony Perard posted an early version of his patch to do this yesterday.

For the qemu-xen tree most such communication is done via xenstore and there is no current plan to integrate with the monitor (nor any need AFAIK).

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

What are you trying to achieve?

Plumb change-vnc-password through libxl IIRC.

Yes, we want to support change vnc password while VM is running. qemu monitor already has that part of code, if libxl will have interface with qemu monitor, then we can do change vnc password through libxl easily.

For upstream qemu the QMP interface is the right way to do this.

For qemu-xen we don't have an interface to the monitor and I think we do not want to add one at this point. The way this works there is to add support for a command via xenstore.c (see xenstore_process_dm_command_event).

It's not clear that we want to keep adding new features to the qemu-xen tree (the intention is that it becomes an essentially unchanging caompat option once we move to uptream qemu) but this one seems useful enough? What do the other maintainers think?

Ian.

#5 lore raw
Quoted 32 lines · Ian Campbell
Quoted 16 lines · Chun Yan Liu
Quoted 15 lines · Jim Fehlig
Quoted 14 lines · Ian Campbell
Quoted 4 lines · Chun Yan Liu

Hi, list,

Is there any plan to add a framework for libxl interfacing with qemu monitor (like what libvrit does)? What's the status now?

With the upstream qemu the plan is to use QMP to communicate with qemu from libxl. Anthony Perard posted an early version of his patch to do this yesterday.

For the qemu-xen tree most such communication is done via xenstore and there is no current plan to integrate with the monitor (nor any need AFAIK).

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

What are you trying to achieve?

Plumb change-vnc-password through libxl IIRC.

Yes, we want to support change vnc password while VM is running. qemu monitor already has that part of code, if libxl will have interface with qemu monitor, then we can do change vnc password through libxl easily.

For upstream qemu the QMP interface is the right way to do this.

For qemu-xen we don't have an interface to the monitor and I think we do not want to add one at this point. The way this works there is to add support for a command via xenstore.c (see xenstore_process_dm_command_event).

Quoted 4 lines

It's not clear that we want to keep adding new features to the qemu-xen tree (the intention is that it becomes an essentially unchanging caompat option once we move to uptream qemu) but this one seems useful enough? What do the other maintainers think?

I think it is not worth it: after all if didn't have this feature before I don't think we should add it now that we froze the tree.