[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] PATCH: Create a logfile for each QEMU vm



The problem I'm having with respect to QEMU is that qemu:///system doesn't form a connection.  What has to be running before I start the virsh command below?  I know my images are okay, I just can't manage them with virt-manager/virt-install/virsh->libvirt.

Thanks, smoyer

On Tuesday 15 May 2007 13:37, Daniel P. Berrange wrote:
> On Tue, May 15, 2007 at 05:15:04PM +0100, Daniel P. Berrange wrote:
> > On Tue, May 15, 2007 at 05:09:56PM +0100, Mark McLoughlin wrote:
> > > On Tue, 2007-05-15 at 17:04 +0100, Daniel P. Berrange wrote:
> > > 
> > > > For every VM we start it will create a logfile
> > > > 
> > > >   /etc/libvirt/qemu/logs/[vmname].log
> > > 
> > > 	Why not /var/log? /etc/ isn't the place for this kind of stuff, surely.
> > 
> > True - though we'd have to code different behaviour when running as an
> > unprivileged user. Shouldn't complicate things too much i guess.
> 
> Attached a new version which does this. If using qemu:///system they get
> put into /var/log/libvirt/qemu, while if using qemu://session they go into
> $HOME/.libvirt/qemu/log
> 
> Dan.

-- 
Steven W. Moyer
Principle Architect, Assurance Applications

C-COR Solutions, LLC
60 Decibel Road
State College, PA  16801

Office Phone: 814-231-4408
Front Desk: 814-238-2461
Cell Phone: 814-883-0391
Fax: 814-278-6540
E-mail: smoyer c-cor com

AIM: StevenWMoyer
ICQ: 349680381
Jabber: smoyer1 jabber jcware org
MSN: smoyer64
Yahoo: smoyer64


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]