Re: [libvirt] [PATCH v4 1/3] lxc: Move console checks in LXCProcessStart

2015-02-13 Thread Daniel P. Berrange
On Thu, Feb 12, 2015 at 03:48:10PM -0500, John Ferlan wrote: > From: Luyao Huang > > https://bugzilla.redhat.com/show_bug.cgi?id=1176503 > > Move the two console checks - one for zero nconsoles present and the > other for an invalid console type to earlier in the processing rather than > getting

[libvirt] [PATCH v4 1/3] lxc: Move console checks in LXCProcessStart

2015-02-12 Thread John Ferlan
From: Luyao Huang https://bugzilla.redhat.com/show_bug.cgi?id=1176503 Move the two console checks - one for zero nconsoles present and the other for an invalid console type to earlier in the processing rather than getting after performing some setup that has to be undone for what amounts to an i