Re: [libvirt] Clock problems with Windows guests and Xen

2009-01-27 Thread Matthew Donovan
> On Tue, Jan 27, 2009 at 01:33:21PM -0500, Matthew Donovan wrote: > > When I start Windows guests with libvirt my clocks are 5 hours off. When I > > use a Xen configuration file, I can specify an offset (rtc_timeoffset = > > -18000) to get my clock to sync with the host.

[libvirt] Clock problems with Windows guests and Xen

2009-01-27 Thread Matthew Donovan
When I start Windows guests with libvirt my clocks are 5 hours off. When I use a Xen configuration file, I can specify an offset (rtc_timeoffset = -18000) to get my clock to sync with the host. Is there a way to do specify this offset in XML with libvirt? Right now, I'm using version 0.4.4 but

[libvirt] Monitoring guest state (xen hvms)

2008-09-23 Thread Matthew Donovan
I would like to be able to monitor the state of a Xen guest OS via virDomainGetInfo (and Domain.getInfo() in the Java bindings.) When I start, pause, and resume the guest via the libvirt API, it works as expected. However, if I shutdown the guest vm by opening a VNC window and actually selectin

RE: [libvirt] pausing / unpausing guests with libvirt

2008-09-22 Thread Matthew Donovan
Looks like that did it. I can pause and resume Linux and Windows guests with this method. Thanks a lot! -matthew > -Original Message- > From: Daniel P. Berrange [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2008 4:17 AM > To: Matthew Donovan > Cc: libvir-

RE: [libvirt] pausing / unpausing guests with libvirt

2008-09-21 Thread Matthew Donovan
x27;/usr/lib/xen/bin/qemu-dm')))(device (vbd (dev 'hda:disk')(uname 'phy:/dev/vgvms/Linux2')(mode 'w')))(device (vif (mac 'd6:5f:df:05:45:bb')(bridge 'Bridge2')(script 'vif-bridge')))(device (vkbd))(device (vfb (type vnc)(vncunused

[libvirt] pausing / unpausing guests with libvirt

2008-09-19 Thread Matthew Donovan
I'm working on a management application that will control Xen guest vms (HVMs) with libvirt Java bindings. I want to be able to pause and unpause the VMs but doing so through the libvirt functions does not seem to actually pause the VM. The suspend function returns true and doesn't throw any exce

RE: [libvirt] DISREGARD Problems starting XEN HVM with libvirt

2008-08-26 Thread Matthew Donovan
It turns out everything was booting, they just weren't configured to give a console or display a GUI window. -matthew > -Original Message- > From: Matthew Donovan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2008 9:25 AM > To: libvir-list@redhat.com &g

[libvirt] Problems starting XEN HVM with libvirt

2008-08-26 Thread Matthew Donovan
I've been having trouble getting a Xen HVM guest started using libvirt. I've tried Windows Vista, Fedora Core 8, and Fedora Core 6 guests. Domain 0 is FC 8. The only guest that starts correctly is the FC 6 guest. Has anyone else encountered something like this? Is there a master list of guest O

RE: [libvirt] Using Xen config files

2008-08-22 Thread Matthew Donovan
Xen and Xen-devel are 3.1.2. I'm using version 0.4.4 of libvirt. -matthew > -Original Message- > From: Richard W.M. Jones [mailto:[EMAIL PROTECTED] > Sent: Friday, August 22, 2008 4:19 AM > To: Matthew Donovan > Cc: Daniel P. Berrange; libvir-list@redhat.com >

RE: [libvirt] Using Xen config files

2008-08-21 Thread Matthew Donovan
uxVM,hda,w', ] vif = [ 'type=ioemu, mac=7A:AB:D0:01:82:98', ] uuid = "414e73de-cf1e-487c-87e0-d4ebf7a23576" device_model = "/usr/lib/xen/bin/qemu-dm" kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 vnc=0 sdl=1 stdvga=0 boot="cda" usbdevice

RE: [libvirt] Using Xen config files

2008-08-20 Thread Matthew Donovan
gt; Sent: Wednesday, August 20, 2008 11:44 AM > To: Matthew Donovan > Cc: libvir-list@redhat.com > Subject: Re: [libvirt] Using Xen config files > > On Wed, Aug 20, 2008 at 11:35:17AM -0400, Matthew Donovan wrote: > > Thanks for the quick reply! > > > > I set the LIBVI

RE: [libvirt] Using Xen config files

2008-08-20 Thread Matthew Donovan
o=0xbfa2b658) state = 0 DEBUG: libvirt.c: virConnectClose (conn=0x96fe478) DEBUG: hash.c: virUnrefConnect (unref connection 0x96fe478 xen:/// 2) > -Original Message- > From: Richard W.M. Jones [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 20, 2008 9:49 AM > To: Matthew D

[libvirt] Using Xen config files

2008-08-20 Thread Matthew Donovan
I am trying to programmatically start Xen guest VMs (HVM) with libvirt (on Fedora Core 8) and I'm having some trouble with it. I've included my code below. Essentially, the domain seems to get created correctly but it doesn't seem to run. I don't receive any error messages from the libvirt functi