Displaying 9 results from an estimated 9 matches for "is_hvm".
2012 Sep 18
6
[PATCH 2/5] Xen/MCE: vMCE injection
...uct domain *d)
{
- int cpu = smp_processor_id();
+ struct vcpu *v;
- /* PV guest and HVM guest have different vMCE# injection methods. */
- if ( !test_and_set_bool(d->vcpu[0]->mce_pending) )
+ /* inject vMCE to all vcpus */
+ for_each_vcpu(d, v)
{
- if ( d->is_hvm )
+ if ( !test_and_set_bool(v->mce_pending) &&
+ ((d->is_hvm) ||
+ guest_has_trap_callback(d, v->vcpu_id, TRAP_machine_check)) )
{
- mce_printk(MCE_VERBOSE, "MCE: inject vMCE to HVM DOM %d\n",
- d-...
2008 Sep 23
1
Converting XenEnterprise image to XenSource
...000000042.gz and a filed called ova.xml with the following:
<appliance version="0.1">
<vm name="VM">
<label> Manager </label>
<shortdesc> </shortdesc>
<config mem_set="5368709120" vcpus="456612"/>
<hacks is_hvm="true"> </hacks>
<vbd device="hda" function="root" mode="w" vdi="vdi_hda"/>
</vm>
<vdi name="vdi_hda" size="42949672960" source="file://hda" type="dir-gzipped-chunks" variety="sy...
2013 May 21
12
[PATCH] fix XSA-46 regression with xend/xm
...s/python/xen/xend/server/pciif.py
@@ -340,7 +340,7 @@ class PciController(DevController):
raise VmError((''pci: failed to configure I/O memory on device ''+
''%s - errno=%d'')%(dev.name,rc))
- if not self.vm.info.is_hvm() and dev.irq:
+ if dev.irq > 0:
rc = xc.physdev_map_pirq(domid = fe_domid,
index = dev.irq,
pirq = dev.irq)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xe...
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
...t++, libxl_sprintf(ctx, "key-%d", num));
flexarray_set(back, boffset++, libxl_sprintf(ctx, PCI_BDF, pcidev->domain, pcidev->bus, pcidev->dev, pcidev->func));
@@ -1140,7 +1151,7 @@ static int libxl_device_pci_remove_xenstore(struct libxl_ctx *ctx, uint32_t domi
if (!is_hvm(ctx, domid)) {
if (libxl_wait_for_backend(ctx, be_path, "4") < 0) {
- XL_LOG(ctx, XL_LOG_DEBUG, "pci backend at %s is not ready\n");
+ XL_LOG(ctx, XL_LOG_DEBUG, "pci backend at %s is not ready");
return -1;
}...
2007 Aug 30
0
[PATCH][Retry 1] 1/4: cpufreq/PowerNow! in Xen: Xen timer changes
...uint8_t pad[128];
} u;
};
diff -r 256160ff19b7 xen/include/xen/sched.h
--- a/xen/include/xen/sched.h Thu Aug 16 13:27:59 2007 +0100
+++ b/xen/include/xen/sched.h Thu Aug 30 12:08:29 2007 -0500
@@ -496,6 +496,9 @@ static inline void vcpu_unblock(struct v
#define is_hvm_domain(d) ((d)->is_hvm)
#define is_hvm_vcpu(v) (is_hvm_domain(v->domain))
+/* global variable for cpufreq ability */
+extern unsigned int opt_cpufreq;
+
#endif /* __SCHED_H__ */
/*
diff -r 256160ff19b7 xen/include/xen/time.h
--- a/xen/include/xen/time.h Thu Aug 16 13:27:59 2007 +0100...
2010 Sep 02
7
[PATCH] libxl: make libxl communicate with xenstored by socket or xenbus driver
Hi,
George sent a patch on this problem before, but it was not completed.
This patch makes libxl use xenbus to communicate with xenstored if libxl cannot open a socket. There''s a place that does not close fd in the case of failure, which is also fixed in this patch.
-----------------------------------------Patch------------------------------------------------------
diff -r eff592364826
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...dm_info->saved_state = NULL;
if (info->hvm) {
@@ -380,28 +395,36 @@ out:
}
errno = esave;
+ libxl_free_all(&gc);
return ret;
}
int libxl_domain_resume(libxl_ctx *ctx, uint32_t domid)
{
+ libxl_gc gc = LIBXL_INIT_GC(ctx);
+ int rc = 0;
+
if (is_hvm(ctx, domid)) {
XL_LOG(ctx, XL_LOG_DEBUG, "Called domain_resume on "
"non-cooperative hvm domain %u", domid);
- return ERROR_NI;
+ rc = ERROR_NI;
+ goto out;
}
if (xc_domain_resume(ctx->xch, domid, 1)) {
XL_LOG_...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled
functionality into the qemu-dm code. The general approach taken is to have
qemu-dm provide two machine types - one for xen paravirt, the other for
fullyvirt. For compatability the later is the default. The goals overall
are to kill LibVNCServer, remove alot of code duplication and/or parallel
impls of the same concepts, and
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
...itly disable rdtsc exiting in
construct_vmcs(), since that will happen automatically when we''re in
NEVER_EMULATE mode (which is currently enforced for PVH). Similarly
for nested vmx and things relating to HAP mode.
* I have also done a slightly more extensive audit of is_pv_* and
is_hvm_* and tried to do more restrictions.
* I changed the "enable PVH by setting PV + HAP", replacing it instead
with a separate flag, just like the HVM case, since it makes sense
to plan on using shadow in the future (although it is
Signed-off-by: George Dunlap <george.dunlap@eu.cit...