All of lore.kernel.org
 help / color / mirror / Atom feed
From: f4da1594@opayq.com
To: xen-devel@lists.xensource.com
Subject: Delivery Status Notification (Delay)
Date: Fri, 14 Apr 2017 08:13:26 -0700 (PDT)	[thread overview]
Message-ID: <1492431089.54153.1492184193558.JavaMail.root@smtp4.opayq.com> (raw)


[-- Attachment #1.1.1.1: Type: text/plain, Size: 202 bytes --]


** Delivery incomplete **

There was a temporary problem delivering your message to curtiskwong9@gmail.com. Gmail will retry for 22 more hours. You'll be notified if the delivery fails permanently.




[-- Attachment #1.1.1.2: Type: text/html, Size: 1242 bytes --]

[-- Attachment #1.1.2: icon.png --]
[-- Type: image/png, Size: 3910 bytes --]

[-- Attachment #1.2: Type: message/delivery-status, Size: 480 bytes --]

[-- Attachment #1.3: Type: message/global, Size: 8417 bytes --]


;
        Wed, 12 Apr 2017 06:21:39 -0700 (PDT)
Return-Path: <FWD-737QHYSMHVAYQAUCAOIQBDAAGAQLMA2YAMHECCJDLIBAYAWYAKIAZAQHS=
MCCWMBLIA4UANQUEIGCIMBKMAZUZ4AAEAACA=3D=3D=3D@opayq.com>
Received: from [23.21.143.60] (smtp4.opayq.com. [23.21.143.60])
        by mx.google.com with ESMTPS id o32si19467152qkh.163.2017.04.12.06.=
21.39
        for <curtiskwong9@gmail.com>
        (version=3DTLS1_2 cipher=3DAES128-SHA bits=3D128/128);
        Wed, 12 Apr 2017 06:21:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of fwd-737qhysmhvayqaucaoiqbdaagaqlm=
a2yamheccjdlibayawyakiazaqhsmccwmblia4uanqueigcimbkmazuz4aaeaaca=3D=3D=3D@o=
payq.com designates 23.21.143.60 as permitted sender) client-ip=3D23.21.143=
.60;
Authentication-Results: mx.google.com;
       dkim=3Dpass header.i=3D@opayq.com;
       spf=3Dpass (google.com: domain of fwd-737qhysmhvayqaucaoiqbdaagaqlma=
2yamheccjdlibayawyakiazaqhsmccwmblia4uanqueigcimbkmazuz4aaeaaca=3D=3D=3D@op=
ayq.com designates 23.21.143.60 as permitted sender) smtp.mailfrom=3DFWD-73=
7QHYSMHVAYQAUCAOIQBDAAGAQLMA2YAMHECCJDLIBAYAWYAKIAZAQHSMCCWMBLIA4UANQUEIGCI=
MBKMAZUZ4AAEAACA=3D=3D=3D@opayq.com
DKIM-Signature: v=3D1; d=3Dopayq.com; t=3D1492003279; b=3DFdtLxGr0zhvL1g80o=
iNzhXBkRA1jyHbXNG5wtlQXRrH2kzMzHXt3pOhR48DssEVko9osON3uR7ihKD/A8yF+zSXdwH/y=
Twg6o3hhZRtXIHf/qS6McjJ9iVr5/Bki2R0NFaUAFwZSsNLLAesUKj/Lp8qxUPFMtCJj6sLCmFc=
UEKs=3D; s=3Dabine; c=3Drelaxed/relaxed; a=3Drsa-sha256; bh=3DCS8SfCHG30s9v=
Kd4wLDzyxSJQBFSU20vydsj1kf+yFQ=3D; h=3DDate:From:Reply-To:Subject:To:List-U=
nsubscribe;
MIME-Version: 1.0
Content-Type: text/plain; charset=3D"utf-8"
Content-Transfer-Encoding: 7bit
X-GetAbine-Processed: 1
From: "lists.xen.org [Masked]" <FWD-737QHYSMHVAYQAUCAOIQBDAAGAQLMA2YAMHECCJ=
DLIBAYAWYAKIAZAQHSMCCWMBLIA4UANQUEIGCIMBKMAZUZ4AAEAACA=3D=3D=3D@opayq.com>
Sender: "lists.xen.org [Masked]" <FWD-737QHYSMHVAYQAUCAOIQBDAAGAQLMA2YAMHEC=
CJDLIBAYAWYAKIAZAQHSMCCWMBLIA4UANQUEIGCIMBKMAZUZ4AAEAACA=3D=3D=3D@opayq.com=
>
Reply-To:=20
	FWD-737QHYSMHVAYQAUCAOIQBDAAGAQLMA2YAMHECCJDLIBAYAWYAKIAZAQHSMCCWMBLIA4UAN=
QUEIGCIMBKMAZUZ4AAEAACA=3D=3D=3D@opayq.com
To: f4da1594@opayq.com
X-GetAbine-Sender: xen-changelog-bounces@lists.xen.org
X-GetAbine-Disposable: f4da1594@opayq.com
X-GetAbine-Host-Address: 23.21.143.60
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrILMWRWlGSWpSXmKPExsWS0XRdVbdW/V2
 EwYJbAhYTthk4MHps79vFHsAYxZqZl5RfkcCa8XDyQdaCqwYVrYdvMDYwrtfoYuTiEBL4wihx
 bFMHK4RznlFi75TVTF2MHBxsAmISc/cqdDFycogIqErMWrGcGcQWElCXaPrdwAZiCwu4Ssy+d
 IEdxOYVMJNoXfgVzGYBqm98cJVxAiPHAkaGVYwaxalFZalFusZGeklFmekZJbmJmTm6hgZmer
 mpxcWJ6ak5iUnFesn5uZsYgV5hAIIdjKfXBR5ilORgUhLlvazwNkKILyk/pTIjsTgjvqg0J7X
 4EKMMB4eSBK+b2rsIIcGi1PTUirTMHGB4wKQlOHiURHhTQNK8xQWJucWZ6RCpU4yKUuK8liAJ
 AZBERmkeXBssJC8xykoJ8zICHSLEU5BalJtZgir/ilGcg1FJmLcYZApPZl4J3PRXQIuZgBav3
 fsWZHFJIkJKqoFxXtSeO75b77wNiTX89WrdDGHL2nzZ3Hjty1v7/8hqhhbf1/8UphCR8P1In+
 TMGYppTBWsYhMmHd7bnLXBaz/TjpK31WKuD07f1vhzfMeVDt8uM4nw7NRJ9fN+On3g4Dm+fkI
 Pg/gn3VO5sxxWNc/d3DXNMNbVvWDikQ0NzZ35+TPnKUWvYWVTYinOSDTUYi4qTgQAg/2DVUQC
 AAA=3D
X-Env-Sender: ian.jackson@eu.citrix.com
X-Msg-Ref: server-3.tower-21.messagelabs.com!1492002684!59940748!1
X-Originating-IP: [104.130.215.37]
X-SpamReason: No, hits=3D0.0 required=3D7.0 tests=3D
X-StarScan-Received:=20
X-StarScan-Version: 9.4.12; banners=3D-,-,-
X-VirusChecked: Checked
Message-Id: <E1cyI3P-0001Ul-36@xenbits.xenproject.org>
Date: Wed, 12 Apr 2017 13:11:23 +0000
Subject: [Xen-changelog] [xen master] golang/xenlight: Add host-related
	functionality
X-BeenThere: xen-changelog@lists.xen.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: "Change log for Mercurial \(receive only\)"
 <xen-changelog.lists.xen.org>
List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-change=
log>,=20
 <mailto:xen-changelog-request@lists.xen.org?subject=3Dunsubscribe>
List-Unsubscribe: <mailto:unsubscribe-1188110264-f4da1594@opayq.com>, <http=
s://emails.abine.com/disableDisposable?fwd=3DFWD-737QHYSMHVAYQAUCAOIQBDAAGA=
QLMA2YAMHECCJDLIBAYAWYAKIAZAQHSMCCWMBLIA4UANQUEIGCIMBKMAZUZ4AAEAACA=3D=3D=
=3D@opayq.com>
List-Post: <mailto:xen-changelog@lists.xen.org>
List-Help: <mailto:xen-changelog-request@lists.xen.org?subject=3Dhelp>
List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-changel=
og>,=20
 <mailto:xen-changelog-request@lists.xen.org?subject=3Dsubscribe>


-------------------------Blur-------------------------
This email is forwarded from a MASKED EMAIL you created using Blur.  (https=
://dnt.abine.com/#help/faq/faq-whataremaskedemails).
IF THIS IS SPAM, CLICK HERE TO BLOCK:
https://dnt.abine.com/#/block_email/f4da1594@opayq.com/FWD-737QHYSMHVAYQAUC=
AOIQBDAAGAQLMA2YAMHECCJDLIBAYAWYAKIAZAQHSMCCWMBLIA4UANQUEIGCIMBKMAZUZ4AAEAA=
CA=3D=3D=3D@opayq.com

Want to shop safely and privately online? Go Premium: https://dnt.abine.com=
/?pk_campaign=3DmaskHeader#premium
-------------------------by Abine-------------------------


commit 453713b175003a6241f4560c784472d86f83c64b
Author:     Ronald Rojas <ronladred@gmail.com>
AuthorDate: Wed Apr 5 17:05:47 2017 +0100
Commit:     George Dunlap <george.dunlap@citrix.com>
CommitDate: Thu Apr 6 15:34:06 2017 +0100

    golang/xenlight: Add host-related functionality
   =20
    Add calls for the following host-related functionality:
    - libxl_get_max_cpus
    - libxl_get_online_cpus
    - libxl_get_max_nodes
    - libxl_get_free_memory
    - libxl_get_physinfo
    - libxl_get_version_info
   =20
    Include Golang versions of the following structs:
    - libxl_physinfo as Physinfo
    - libxl_version_info as VersionInfo
    - libxl_hwcap as Hwcap
   =20
    Signed-off-by: Ronald Rojas <ronladred@gmail.com>
    Reviewed-by:  George Dunlap <george.dunlap@citrix.com>
    Acked-by: Ian Jackson <ian.jackson@citrix.com>
---
 tools/golang/xenlight/xenlight.go | 200 ++++++++++++++++++++++++++++++++++=
++++
 1 file changed, 200 insertions(+)

diff --git a/tools/golang/xenlight/xenlight.go b/tools/golang/xenlight/xenl=
ight.go
index de24ffd..5b500f3 100644
--- a/tools/golang/xenlight/xenlight.go
+++ b/tools/golang/xenlight/xenlight.go
@@ -118,6 +118,103 @@ type Context struct {
 	logger *C.xentoollog_logger_stdiostream
 }
=20
+type Hwcap []C.uint32_t
+
+func (chwcap C.libxl_hwcap) CToGo() (ghwcap Hwcap) {
+	// Alloc a Go slice for the bytes
+	size :=3D 8
+	ghwcap =3D make([]C.uint32_t, size)
+
+	// Make a slice pointing to the C array
+	mapslice :=3D (*[1 << 30]C.uint32_t)(unsafe.Pointer(&chwcap[0]))[:size:si=
ze]
+
+	// And copy the C array into the Go array
+	copy(ghwcap, mapslice)
+
+	return
+}
+
+/*
+ * Types: IDL
+ *
+ * FIXME: Generate these automatically from the IDL
+ */
+
+type Physinfo struct {
+	ThreadsPerCore    uint32
+	CoresPerSocket    uint32
+	MaxCpuId          uint32
+	NrCpus            uint32
+	CpuKhz            uint32
+	TotalPages        uint64
+	FreePages         uint64
+	ScrubPages        uint64
+	OutstandingPages  uint64
+	SharingFreedPages uint64
+	SharingUsedFrames uint64
+	NrNodes           uint32
+	HwCap             Hwcap
+	CapHvm            bool
+	CapHvmDirectio    bool
+}
+
+func (cphys *C.libxl_physinfo) toGo() (physinfo *Physinfo) {
+
+	physinfo =3D &Physinfo{}
+	physinfo.ThreadsPerCore =3D uint32(cphys.threads_per_core)
+	physinfo.CoresPerSocket =3D uint32(cphys.cores_per_socket)
+	physinfo.MaxCpuId =3D uint32(cphys.max_cpu_id)
+	physinfo.NrCpus =3D uint32(cphys.nr_cpus)
+	physinfo.CpuKhz =3D uint32(cphys.cpu_khz)
+	physinfo.TotalPages =3D uint64(cphys.total_pages)
+	physinfo.FreePages =3D uint64(cphys.free_pages)
+	physinfo.ScrubPages =3D uint64(cphys.scrub_pages)
+	physinfo.ScrubPages =3D uint64(cphys.scrub_pages)
+	physinfo.SharingFreedPages =3D uint64(cphys.sharing_freed_pages)
+	physinfo.SharingUsedFrames =3D uint64(cphys.sharing_used_frames)
+	physinfo.NrNodes =3D uint32(cphys.nr_nodes)
+	physinfo.HwCap =3D cphys.hw_cap.CToGo()
+	physinfo.CapHvm =3D bool(cphys.cap_hvm)
+	physinfo.CapHvmDirectio =3D bool(cphys.cap_hvm_directio)
+
+	return
+}
+
+type VersionInfo struct {
+	XenVersionMajor int
+	XenVersionMinor int
+	XenVersionExtra string
+	Compiler        string
+	CompileBy       string
+	CompileDomain   string
+	CompileDate     string
+	Capabilities    string
+	Changeset       string
+	VirtStart       uint64
+	Pagesize        int
+	Commandline     string
+	BuildId         string
+}
+
+func (cinfo *C.libxl_version_info) toGo() (info *VersionInfo) {
+	info =3D=20
----- Message truncated -----

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2017-04-14 15:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-14 15:13 f4da1594 [this message]
2017-04-14 15:29 Delivery Status Notification (Delay) f4da1594
2017-04-14 18:17 f4da1594
2017-06-07  8:13 f4da1594
2017-06-07  8:21 f4da1594
2017-06-08  7:00 f4da1594
2017-06-08  7:27 f4da1594
2017-06-08  8:23 f4da1594
2017-06-08  8:55 f4da1594
2017-06-08 23:35 f4da1594
2017-06-09  1:07 f4da1594
2017-06-09  1:15 f4da1594
2017-06-10  0:33 f4da1594
2017-06-10 13:16 f4da1594
2017-06-10 14:33 f4da1594
2017-06-11 13:22 f4da1594
2017-06-11 13:34 f4da1594
2017-06-12  0:50 f4da1594
2017-06-12 10:03 f4da1594
2017-06-12 10:11 f4da1594

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1492431089.54153.1492184193558.JavaMail.root@smtp4.opayq.com \
    --to=f4da1594@opayq.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.