Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-04 Thread Chun Yan Liu
On 3/4/2015 at 08:33 PM, in message 1425472438.25940.147.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Wed, 2015-03-04 at 12:26 +, George Dunlap wrote: On 03/04/2015 10:00 AM, Ian Campbell wrote: On Wed, 2015-03-04 at 00:26 -0700, Chun Yan Liu wrote: On 3

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-04 Thread Chun Yan Liu
On 3/4/2015 at 10:41 PM, in message 54f71992.5080...@eu.citrix.com, George Dunlap george.dun...@eu.citrix.com wrote: On 03/04/2015 08:28 AM, Chun Yan Liu wrote: On 3/4/2015 at 01:15 AM, in message 54f5ec4e.6020...@eu.citrix.com, George Dunlap george.dun...@eu.citrix.com wrote

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-04 Thread Chun Yan Liu
On 3/4/2015 at 01:15 AM, in message 54f5ec4e.6020...@eu.citrix.com, George Dunlap george.dun...@eu.citrix.com wrote: On 01/19/2015 08:28 AM, Chunyan Liu wrote: To attach a usb device, a virtual usb controller should be created first. This patch defines usbctrl and usbdevice related

Re: [Xen-devel] [PATCH RFC V2 4/5] xl: add pvusb commands

2015-03-03 Thread Chun Yan Liu
On 3/3/2015 at 07:43 PM, in message 1425382984.24959.115.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: Add pvusb commands. To attach a usb device to guest through pvusb, one could follow following example:

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-03-03 Thread Chun Yan Liu
On 3/3/2015 at 07:38 PM, in message 1425382696.24959.112.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: Add pvusb APIs, including: - attach/detach (create/destroy) virtual usb controller. - attach/detach usb

Re: [Xen-devel] [PATCH RFC V2 1/5] libxl: add pvusb definitions

2015-03-03 Thread Chun Yan Liu
On 3/3/2015 at 07:10 PM, in message 1425381019.24959.87.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: Sorry for the long delay in replying. To attach a usb device, a virtual usb controller should be created

Re: [Xen-devel] [RFC V10 4/4] domain snapshot design: libxl

2015-01-29 Thread Chun Yan Liu
On 1/30/2015 at 12:41 AM, in message 1422549669.10225.0.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-26 at 11:25 +0800, Chunyan Liu wrote: Changes to V9: * update libxl_disk_snapshot structures as Ian suggests * add more descriptions for

Re: [Xen-devel] [RFC V10 3/4] domain snapshot design: xl

2015-01-29 Thread Chun Yan Liu
On 1/30/2015 at 12:33 AM, in message 1422549191.5198.32.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-26 at 11:25 +0800, Chunyan Liu wrote: This is all looking good (including the previous two patches where I didn't have any substantial comments).

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API

2015-01-28 Thread Chun Yan Liu
On 1/28/2015 at 11:54 PM, in message 1422460493.5187.28.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: tools/libxl/libxlu_cfg_y.c | 464 --- tools/libxl/libxlu_cfg_y.h | 38 +- I think these

Re: [Xen-devel] [PATCH RFC V2 0/5] pvusb toolstack work

2015-01-28 Thread Chun Yan Liu
On 1/28/2015 at 11:51 PM, in message 1422460263.5187.27.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-19 at 16:28 +0800, Chunyan Liu wrote: This patch series is based on Simon's work. Since there is no progress after last August, I hope we can make this

Re: [Xen-devel] [PATCH] libxl: adjust hvm direct boot code

2015-01-15 Thread Chun Yan Liu
On 1/15/2015 at 10:51 PM, in message 20150115145156.ga3...@zion.uk.xensource.com, Wei Liu wei.l...@citrix.com wrote: On Thu, Jan 15, 2015 at 01:50:27PM +, Ian Campbell wrote: On Thu, 2015-01-15 at 12:29 +, Wei Liu wrote: The -initrd and -append parameters should only be

Re: [Xen-devel] [RFC V9 2/4] domain snapshot overview

2015-01-13 Thread Chun Yan Liu
On 1/12/2015 at 09:54 PM, in message 1421070890.26317.69.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2015-01-12 at 00:01 -0700, Chun Yan Liu wrote: On 1/8/2015 at 08:26 PM, in message 1420719995.19787.62.ca...@citrix.com, Ian Campbell ian.campb

Re: [Xen-devel] [RFC V9 4/4] domain snapshot design: libxl/libxlu

2015-01-09 Thread Chun Yan Liu
On 1/8/2015 at 08:11 PM, in message 1420719107.19787.53.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2014-12-22 at 02:36 -0700, Chun Yan Liu wrote: b). For internal snapshot, like qcow2, lvm too. For lvm, it doesn't support snapshot of snapshot, so out

Re: [Xen-devel] [RFC V9 3/4] domain snapshot design: xl

2014-12-22 Thread Chun Yan Liu
On 12/19/2014 at 06:27 PM, in message 1418984856.20028.17.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Fri, 2014-12-19 at 00:03 -0700, Chun Yan Liu wrote: '--name' meant to give a meaningful name (like: newinstall. Used as the memory snapshot name and disk

Re: [Xen-devel] [RFC V9 4/4] domain snapshot design: libxl/libxlu

2014-12-22 Thread Chun Yan Liu
On 12/19/2014 at 06:38 PM, in message 1418985490.20028.27.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Thu, 2014-12-18 at 23:58 -0700, Chun Yan Liu wrote: On 12/18/2014 at 11:27 PM, in message 1418916436.11882.101.ca...@citrix.com, Ian Campbell ian.campb

Re: [Xen-devel] [RFC V9 4/4] domain snapshot design: libxl/libxlu

2014-12-22 Thread Chun Yan Liu
On 12/19/2014 at 06:38 PM, in message 1418985490.20028.27.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Thu, 2014-12-18 at 23:58 -0700, Chun Yan Liu wrote: On 12/18/2014 at 11:27 PM, in message 1418916436.11882.101.ca...@citrix.com, Ian Campbell ian.campb

Re: [Xen-devel] [RFC V9 2/4] domain snapshot overview

2014-12-22 Thread Chun Yan Liu
On 12/19/2014 at 06:25 PM, in message 1418984720.20028.15.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Thu, 2014-12-18 at 22:45 -0700, Chun Yan Liu wrote: On 12/18/2014 at 11:10 PM, in message 1418915443.11882.86.ca...@citrix.com, Ian Campbell ian.campb

Re: [Xen-devel] [RFC V9 1/4] domain snapshot terms

2014-12-18 Thread Chun Yan Liu
On 12/18/2014 at 11:05 PM, in message 1418915119.11882.79.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2014-12-16 at 14:32 +0800, Chunyan Liu wrote: Changes to V8: * add a document for domain snapshot related terms, they will be referred in later

Re: [Xen-devel] [RFC V9 2/4] domain snapshot overview

2014-12-18 Thread Chun Yan Liu
On 12/18/2014 at 11:10 PM, in message 1418915443.11882.86.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2014-12-16 at 14:32 +0800, Chunyan Liu wrote: Changes to V8: * add an overview document, so that one can has a overall look about the whole domain

Re: [Xen-devel] [RFC V9 4/4] domain snapshot design: libxl/libxlu

2014-12-18 Thread Chun Yan Liu
On 12/18/2014 at 11:27 PM, in message 1418916436.11882.101.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2014-12-16 at 14:32 +0800, Chunyan Liu wrote: Changes to V8: * remove libxl_domain_snapshot_create/delete/revert API * export disk snapshot

Re: [Xen-devel] [RFC V9 3/4] domain snapshot design: xl

2014-12-18 Thread Chun Yan Liu
On 12/18/2014 at 11:15 PM, in message 1418915759.11882.91.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2014-12-16 at 14:32 +0800, Chunyan Liu wrote: Changes to V8: * xl won't manage snapshots, that means it won't maintain json files, won't maintain

Re: [Xen-devel] [RFC V9 3/4] domain snapshot design: xl

2014-12-17 Thread Chun Yan Liu
On 12/17/2014 at 08:28 PM, in message 20141217122817.gg1...@zion.uk.xensource.com, Wei Liu wei.l...@citrix.com wrote: On Tue, Dec 16, 2014 at 02:32:56PM +0800, Chunyan Liu wrote: Changes to V8: * xl won't manage snapshots, that means it won't maintain json files, won't maintain

Re: [Xen-devel] [RFC V9 2/4] domain snapshot overview

2014-12-17 Thread Chun Yan Liu
On 12/17/2014 at 08:17 PM, in message 20141217121750.gf1...@zion.uk.xensource.com, Wei Liu wei.l...@citrix.com wrote: On Tue, Dec 16, 2014 at 02:32:55PM +0800, Chunyan Liu wrote: Changes to V8: * add an overview document, so that one can has a overall look about the whole

Re: [Xen-devel] [RFC V8 2/3] libxl domain snapshot API design

2014-12-14 Thread Chun Yan Liu
On 12/13/2014 at 12:22 AM, in message 1418401323.16425.28.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2014-12-09 at 20:46 -0700, Chun Yan Liu wrote: On 12/9/2014 at 07:11 PM, in message 1418123518.14361.20.ca...@citrix.com, Ian Campbell ian.campb

Re: [Xen-devel] [RFC V8 2/3] libxl domain snapshot API design

2014-12-09 Thread Chun Yan Liu
On 12/9/2014 at 07:11 PM, in message 1418123518.14361.20.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2014-12-08 at 22:04 -0700, Chun Yan Liu wrote: Partly. At least for domain disk snapshot create/delete, I prefer using qmp commands instead of calling qemu-img

Re: [Xen-devel] [RFC V8 2/3] libxl domain snapshot API design

2014-12-08 Thread Chun Yan Liu
On 12/8/2014 at 07:12 PM, in message 20141208111214.gc17...@zion.uk.xensource.com, Wei Liu wei.l...@citrix.com wrote: On Mon, Dec 08, 2014 at 12:34:47AM -0700, Chun Yan Liu wrote: On 12/6/2014 at 12:06 AM, in message 20141205160615.ga24...@zion.uk.xensource.com, Wei Liu

Re: [Xen-devel] [RFC V8 2/3] libxl domain snapshot API design

2014-12-07 Thread Chun Yan Liu
On 12/6/2014 at 12:06 AM, in message 20141205160615.ga24...@zion.uk.xensource.com, Wei Liu wei.l...@citrix.com wrote: I have to admit I'm confused by the back and forth discussion. It's hard to justify the design of new API without knowing what the constraints and requirements are from

Re: [Xen-devel] [RFC V8 2/3] libxl domain snapshot API design

2014-12-02 Thread Chun Yan Liu
On 11/28/2014 at 11:43 PM, in message 1417189409.23604.62.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2014-11-25 at 02:08 -0700, Chun Yan Liu wrote: Hi, Ian, According to previous discussion, snapshot delete and revert are inclined to be done by high

Re: [Xen-devel] [RFC V8 2/3] libxl domain snapshot API design

2014-12-02 Thread Chun Yan Liu
On 11/28/2014 at 11:43 PM, in message 1417189409.23604.62.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2014-11-25 at 02:08 -0700, Chun Yan Liu wrote: Hi, Ian, According to previous discussion, snapshot delete and revert are inclined to be done by high

[Xen-devel] 答复: Re: [PATCH] missing chunk of HVM direct kernel boot patch

2014-12-01 Thread Chun Yan Liu
Ian Campbell ian.campb...@citrix.com 2014-11-28 下午 20:01 On Fri, 2014-11-28 at 13:55 +0800, Chunyan Liu wrote: Found by Stefano, this chunk of the patch was never applied to xen-unstable (commit 11dffa2359e8a2629490c14c029c7c7c777b3e47), see

Re: [Xen-devel] [RFC V8 2/3] libxl domain snapshot API design

2014-11-25 Thread Chun Yan Liu
in certain format according info list On 11/13/2014 at 07:41 PM, in message 1415878862.21321.9.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Wed, 2014-11-12 at 20:07 -0700, Chun Yan Liu wrote: By active here, do you you mean live (vs paused)? Means the domain is started

Re: [Xen-devel] [PATCH] fix rename: xenstore not fully updated

2014-11-17 Thread Chun Yan Liu
On 11/17/2014 at 11:53 PM, in message 1416239594.5466.23.ca...@citrix.com, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2014-11-17 at 15:45 +, Ian Jackson wrote: +/* update backend /local/domain/0/backend/device/domid/.../domain */ Um, what on earth creates that

Re: [Xen-devel] [PATCH] fix rename: xenstore not fully updated

2014-11-17 Thread Chun Yan Liu
On 11/17/2014 at 11:45 PM, in message 21610.6141.943750.141...@mariner.uk.xensource.com, Ian Jackson ian.jack...@eu.citrix.com wrote: Chunyan Liu writes ([PATCH] fix rename: xenstore not fully updated): Currently libxl__domain_rename only update /local/domain/domid/name, still some

<    1   2