[libvirt] [PATCH go-xml] Add support for domain hostdev and test code

2017-08-27 Thread ZhenweiPi
Signed-off-by: zhenwei.pi --- domain.go | 36 domain_test.go | 36 2 files changed, 72 insertions(+) diff --git a/domain.go b/domain.go index a5d3203..2c63307 100644 --- a/domain.go

[libvirt] [PATCH go-xml] Add support for domain hostdev and test code

2017-08-21 Thread ZhenweiPi
Signed-off-by: zhenwei.pi --- domain.go | 36 domain_test.go | 36 2 files changed, 72 insertions(+) diff --git a/domain.go b/domain.go index a5d3203..2c63307 100644 --- a/domain.go +++

[libvirt] [PATCH go-xml] support virtualport for interface and add test code

2017-06-25 Thread ZhenweiPi
--- domain.go | 29 + domain_test.go | 4 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/domain.go b/domain.go index eb7ff9e..ecb8550 100644 --- a/domain.go +++ b/domain.go @@ -185,19 +185,24 @@ type DomainInterfaceDriver struct {

Re: [libvirt] [ISSUE go-xml] go-xml does NOT support DomainDisk marshal

2017-06-05 Thread ZhenweiPi
ONE MILLION THANKS TO YOU! On 06/05/2017 09:05 PM, Daniel P. Berrange wrote: On Sat, Jun 03, 2017 at 11:27:19AM +0800, ZhenweiPi wrote: Hi, In the case of disk hot-plug, we need a xml like this : /// // // // // // // // // /// For now, go-xml does not support DomainDisk marshal

[libvirt] [ISSUE go-xml] go-xml does NOT support DomainDisk marshal

2017-06-02 Thread ZhenweiPi
Hi, In the case of disk hot-plug, we need a xml like this : /// // // // // // // // // /// For now, go-xml does not support DomainDisk marshal. Any good idea ? -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH go-xml] Add support for domain input address

2017-06-01 Thread ZhenweiPi
--- domain.go | 5 +++-- domain_test.go | 11 ++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/domain.go b/domain.go index bf0b851..dcb8f65 100644 --- a/domain.go +++ b/domain.go @@ -232,8 +232,9 @@ type DomainChardev struct { } type DomainInput struct { -

[libvirt] [PATCH go-xml] 1, add support for disk cache and io, and add test case. 2, add support for controller model, and add test case. 3, extend DomainAddress struct for PCI address and target

2017-05-30 Thread ZhenweiPi
--- domain.go | 13 +++-- domain_test.go | 56 +--- 2 files changed, 64 insertions(+), 5 deletions(-) diff --git a/domain.go b/domain.go index 848835a..cbb22e5 100644 --- a/domain.go +++ b/domain.go @@ -30,8 +30,10 @@ import ( )