Skip to contentSkip to conversation

Updated version of VM-Tools and libxen available

DISCUSSION Anthony Liguori 8 participants 10 messages Apr 6, 2005 – Apr 11, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

A new version of VM-Tools and libxen are available for those interested. There's a number of new features that I thought some folks here would be interested in.

vm-tools:
o VMX support
o vm-top (with SMP support)
o vm-balloon
o many bugfixes

libxen:
o Use the positive portion of the return code when possible
o Ensure error code is in errno
o Linux build routine
o memext ops

VM-Tools:
http://www.cs.utexas.edu/users/aliguori/vm-tools-latest.tar.gz

libxen:
http://www.cs.utexas.edu/users/aliguori/libxen-3.0.1.tar.gz

Regards,
Anthony Liguori

#1 lore raw

Anthony,

Great to see another release. Will the vm-top work with the existing xend toolset? Or in other words, can I grab vm-top from vmtools to get this functionality without having to change the use of existing standard tools?

Michael

Quoted 32 lines · Anthony Liguori

Hi,

A new version of VM-Tools and libxen are available for those interested. There's a number of new features that I thought some folks here would be interested in.

vm-tools:
o VMX support
o vm-top (with SMP support)
o vm-balloon
o many bugfixes

libxen:
o Use the positive portion of the return code when possible
o Ensure error code is in errno
o Linux build routine
o memext ops

VM-Tools:
http://www.cs.utexas.edu/users/aliguori/vm-tools-latest.tar.gz

libxen:
http://www.cs.utexas.edu/users/aliguori/libxen-3.0.1.tar.gz

Regards,
Anthony Liguori

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

Signature · 2 lines
Michael Hohnbaum            503-578-5486
[email protected]         T/L 775-5486
#2 lore raw
In reply to Anthony Liguori
Quoted 18 lines · Anthony Liguori

Hi,

A new version of VM-Tools and libxen are available for those interested. There's a number of new features that I thought some folks here would be interested in.

vm-tools:
o VMX support
o vm-top (with SMP support)
o vm-balloon
o many bugfixes

libxen:
o Use the positive portion of the return code when possible
o Ensure error code is in errno
o Linux build routine
o memext ops

Quoted 5 lines

VM-Tools:
http://www.cs.utexas.edu/users/aliguori/vm-tools-latest.tar.gz

libxen:
http://www.cs.utexas.edu/users/aliguori/libxen-3.0.1.tar.gz

Anthony, I would like to give those code a try. Could you please give us some brief HOWTO guidance for the first steps? Do I need to stop the xend, and run other alternative daemon to use vm-tools?

I looked at the tarball, but found no such documentation.

thank you,
aq

#3 lore raw
Quoted 22 lines · aq
Quoted 21 lines · Anthony Liguori

Hi,

A new version of VM-Tools and libxen are available for those interested. There's a number of new features that I thought some folks here would be interested in.

vm-tools:
o VMX support
o vm-top (with SMP support)
o vm-balloon
o many bugfixes

libxen:
o Use the positive portion of the return code when possible
o Ensure error code is in errno
o Linux build routine
o memext ops

VM-Tools:
http://www.cs.utexas.edu/users/aliguori/vm-tools-latest.tar.gz

Quoted 8 lines
Quoted 2 lines

libxen:
http://www.cs.utexas.edu/users/aliguori/libxen-3.0.1.tar.gz

Anthony, I would like to give those code a try. Could you please give us some brief HOWTO guidance for the first steps? Do I need to stop the xend, and run other alternative daemon to use vm-tools?

I looked at the tarball, but found no such documentation.

Hi,

vm-tools can co-exist with xend, you don't need to stop xend in order to use vm-tools. To get started with it:

1) vm-tools only works with the xeno-unstable tree.

2) untar the tarball

3) make

4) make install

The "vm" script is intended to work like "xm". For more information on how to use the commands, you can:

1) Use man pages (They need some updating)

  # man vm

2) Use help options for syntax

 # vm help

3) Read the documenation in the docs directory

Some basic tasks:

1) Creating a domain - vm create CONFIG

 # vm create /etc/xen/vm1

2) Listing domains - vm list

 # vm list

3) Shutting down a domain - vm shutdown DOMID

 # vm shutdown 3

The vm-tools are still being developed. There does need to be an installation instruction added - either as a file INSTALL or in the README. A short HOWTO might also help. We'll be sure to add it.

Thanks,

Dan

#4 lore raw
Quoted 2 lines · Daniel Stekloff

1) Creating a domain - vm create CONFIG

 # vm create /etc/xen/vm1

I should probably add that the config is a bit different than the xm config. Please look at the man page for vm or at the example config in the scripts directory of the source, it's entitled "rockhopper".

We plan to add support for using an existing xm/xend python config. I added a callout but haven't got around yet to creating the python script necessary to parse the xm/xend config and add the variables to the env.

Thanks,

Dan

#5 lore raw
In reply to Daniel Stekloff
Quoted 43 lines · Daniel Stekloff
Quoted 28 lines · aq
Quoted 18 lines · Anthony Liguori

Hi,

A new version of VM-Tools and libxen are available for those interested. There's a number of new features that I thought some folks here would be interested in.

vm-tools:
o VMX support
o vm-top (with SMP support)
o vm-balloon
o many bugfixes

libxen:
o Use the positive portion of the return code when possible
o Ensure error code is in errno
o Linux build routine
o memext ops

Quoted 7 lines

VM-Tools:
http://www.cs.utexas.edu/users/aliguori/vm-tools-latest.tar.gz

libxen:
http://www.cs.utexas.edu/users/aliguori/libxen-3.0.1.tar.gz

Quoted 7 lines

Anthony, I would like to give those code a try. Could you please give us some brief HOWTO guidance for the first steps? Do I need to stop the xend, and run other alternative daemon to use vm-tools?

I looked at the tarball, but found no such documentation.

Hi,

vm-tools can co-exist with xend, you don't need to stop xend in order to use vm-tools. To get started with it:

Quoted 9 lines

1) vm-tools only works with the xeno-unstable tree.

2) untar the tarball

3) make

4) make install

** only required as root

Quoted 6 lines

The "vm" script is intended to work like "xm". For more information on how to use the commands, you can:

1) Use man pages (They need some updating)

 # man vm

* definitely out of sync but the usage should be current. Try --help or -h

Quoted 30 lines

2) Use help options for syntax

# vm help

3) Read the documenation in the docs directory

Some basic tasks:

1) Creating a domain - vm create CONFIG

# vm create /etc/xen/vm1

2) Listing domains - vm list

# vm list

3) Shutting down a domain - vm shutdown DOMID

# vm shutdown 3

The vm-tools are still being developed. There does need to be an installation instruction added - either as a file INSTALL or in the README. A short HOWTO might also help. We'll be sure to add it.

Thanks,

Dan

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

Signature · 5 lines
Sincerely, Woody Marvel   LTC Open Source Projects   Beaverton, OR
tel: 503-578-3833/775-3833	email: [email protected]
=======================================================================
"The branch is not only ever near the stem, but ever receiving life and fruitfulness from it." -- C.H.Spurgeon
=======================================================================

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

#6 lore raw

Thank you all for the guidance on how to use vm-tools. That really help, since its documentation still lag behind development.

I have a question: as I understand, at the moment vm-tools doesnt support file backed device, but only real block device? That means if I want to try out this tool suite, I must (for ex.) run xenU on real disk partitions?

Thank you,
aq

#7 lore raw

In Linux you can bind a file to a block device using:

losetup /dev/loop0 /path/to/file

Where loop0 is an unbound loop device (most Linux installs should have at least loop0, loop1 ... loop 7).

You can then specify /dev/loop0 as the device to export to the domain.

When you're done, use losetup -d /dev/loop0 to remove the binding and free that device.

HTH
Mark

Quoted 15 lines · aq

Thank you all for the guidance on how to use vm-tools. That really help, since its documentation still lag behind development.

I have a question: as I understand, at the moment vm-tools doesnt support file backed device, but only real block device? That means if I want to try out this tool suite, I must (for ex.) run xenU on real disk partitions?

Thank you,
aq

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

#8 lore raw
In reply to aq
Quoted 3 lines · aq

Anthony, I would like to give those code a try. Could you please give us some brief HOWTO guidance for the first steps? Do I need to stop the xend, and run other alternative daemon to use vm-tools?

You don't need to start xend, but you need to run xcs.

sRp

Signature · 1 line
Scott Parish
#9 lore raw
In reply to Anthony Liguori
Quoted 3 lines · Anthony Liguori

Hi,

A new version of VM-Tools and libxen are available for those interested. There's a number of new features that I thought some folks here would be interested in.

hi,

could I suggest renaming the vmtools source subdirs in the future, fx as in:

xen -> libxen
src -> vmtools

This would make integrating your code with the rest of the Xen tree a bit easier.

best,
Jacob