search for: domain_id

Displaying 20 results from an estimated 179 matches for "domain_id".

2007 Dec 27
2
VT-d and the GPU
...12:d0 domain_context_unmap:PCI: bdf = 0:2:0 (XEN) intel-iommu.c:1260:d0 domain_context_unmap_one_1:bdf = 0:2:0 (XEN) intel-iommu.c:741: iommu_page_fault: iommu->reg = fff77000 (XEN) intel-iommu.c:724: iommu_page_fault:DMA Write: DEVICE 0:2.0 addr 7e8000002 (XEN) print_vtd_entries: domain_id = 0 bdf = 0:2:0 devfn = 10, gmfn = 7e800 (XEN) ---- print_vtd_entries 0 ---- (XEN) d->pgd = ffbce000 virt_to_maddr(hd->pgd) = bce000 (XEN) root_entry = ffbcb000 (XEN) root_entry[0] = bc5001 (XEN) maddr_to_virt(root_entry[0]) = ffbc5001 (XEN) ctxt_entry[...
2005 Oct 28
4
find_by_sql column types
Hello-- There must be a better way to do this. I have a class method in my model that finds averages and does a few calculations using find_by_sql. The problem I¹m encountering is that all computed columns from MySQL come back as type string. E.g., def self.find_averages(domain_id) if @@domain_average return @@domain_average else @@domain_average = MyDomain.find_by_sql(["select avg(latency) as latency, avg(datediff(session_end, session_start)) as session_duration from live_logs where domain_id=?"], domain_id])[0] end end The problem is...
2012 Sep 18
6
[PATCH 2/5] Xen/MCE: vMCE injection
...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->domain_id); - vcpu_kick(d->vcpu[0]); + mce_printk(MCE_VERBOSE, "MCE: inject vMCE to dom%d vcpu%d\n", + d->domain_id, v->vcpu_id); + vcpu_kick(v); } else { - mce_printk(MCE_VERBOSE, "MCE: injec...
2007 Dec 10
0
[PATCH] avoid duplication of domain ID in messages
...2.000000000 +0100 +++ 2007-12-10/xen/arch/x86/hvm/hvm.c 2007-12-10 09:22:53.000000000 +0100 @@ -533,8 +533,7 @@ static void hvm_vcpu_down(void) struct domain *d = v->domain; int online_count = 0; - gdprintk(XENLOG_INFO, "DOM%d/VCPU%d: going offline.\n", - d->domain_id, v->vcpu_id); + gdprintk(XENLOG_INFO, "VCPU%d: going offline.\n", v->vcpu_id); /* Doesn''t halt us immediately, but we''ll never return to guest context. */ set_bit(_VPF_down, &v->pause_flags); @@ -550,8 +549,7 @@ static void hvm_vcpu_down(void)...
2011 Sep 08
5
[PATCH 0 of 2] v2: memshare/xenpaging/xen-access fixes for xen-unstable
The following two patches allow the parallel use of memsharing, xenpaging and xen-access by using an independent ring buffer for each feature. Please review. v2: - update mem_event_check_ring arguments, check domain rather than domain_id - check ring_full first because its value was just evaluated - check if ring buffer is initialized before calling mem_access_domctl/mem_paging_domctl Olaf tools/libxc/Makefile | 2 tools/libxc/xc_mem_access.c | 21 ++- tools/libxc/xc_mem_event.c | 15...
2012 Apr 24
1
[PATCH] [resend] xen-access: Check return values and clean up on errors during init
...own domain xenaccess in Xen */ + if ( xenaccess->mem_event.ring_page ) + munmap(xenaccess->mem_event.ring_page, PAGE_SIZE); + + if ( mem_access_enable ) + { + rc = xc_mem_access_disable(xenaccess->xc_handle, + xenaccess->mem_event.domain_id); + if ( rc != 0 ) + { + ERROR("Error tearing down domain xenaccess in xen"); + } + } + + /* Unbind VIRQ */ + if ( evtchn_bind ) + { + rc = xc_evtchn_unbind(xenaccess->mem_event.xce_handle, + xenaccess->...
2007 May 29
0
Fw: [RFC] makedumpfile: xen extraction
...ge_info, "page_info"); + OFFSET_INIT(page_info.count_info, "page_info", "count_info"); + /* _domain is the first member of union u */ + OFFSET_INIT(page_info._domain, "page_info", "u"); + + SIZE_INIT(domain, "domain"); + OFFSET_INIT(domain.domain_id, "domain", "domain_id"); + OFFSET_INIT(domain.next_in_list, "domain", "next_in_list"); + + return TRUE; +} + +int +readmem_xen(struct DumpInfo *info, unsigned long long vaddr, void *bufptr, + size_t size, char *errmsg) +{ + unsigned long long paddr; + + if...
2012 Jan 05
3
[PATCH 0 of 2] xenpaging:speed up page-in
The following two patches are about how to speed up in xenpaging when page in pages. On suse11-64 with 4G memory,if we page out 2G pages,it will cost about 15.5 seconds, but take 2088 seconds to finish paging in.If page-in costs too much time,it will cause unmesurable problems when vm or dom0 access the paged_out page,such as BSOD,crash. What鈥檚 more,the dom0 is always in high I/O pressure.
2008 Sep 11
5
[PATCH] Fix arguments passed to SHADOW_PRINTK
...0900 +++ b/xen/arch/x86/mm/shadow/common.c Thu Sep 11 09:25:28 2008 +0900 @@ -701,7 +701,8 @@ static void _sh_resync(struct vcpu *v, m ASSERT(!sh_page_has_multiple_shadows(mfn_to_page(gmfn))); SHADOW_PRINTK("d=%d, v=%d, gmfn=%05lx, va=%lx\n", - v->domain->domain_id, v->vcpu_id, mfn_x(gmfn), va); + v->domain->domain_id, v->vcpu_id, mfn_x(gmfn), + sh_map_domain_page(gmfn)); /* Need to pull write access so the page *stays* in sync. */ if ( oos_remove_write_access(v, gmfn, fixup) ) @@ -953,7 +954,8 @@ int s...
2007 Sep 30
9
Problems with testing nested routes using mocking
...stsController < ApplicationController before_filter :capture_domain # GET /domain/1/virtual_hosts/1 def show @virtual_host = @domain.virtual_hosts.find(params[:id]) respond_to do |format| format.html # show.rhtml end end private def capture_domain if params[:domain_id].blank? flash[:notice] = ''Need domain.'' redirect_to domains_url else @domain = Domain.find(params[:domain_id]) end end end #---- and #----- virtual_host_controller_spec.rb describe VirtualHostsController, "handling GET /domains/1/virtual_hosts/1...
2012 Nov 29
14
Mem_event API and MEM_EVENT_REASON_SINGLESTEP
...in capturing write events anywhere in a domU guest''s memory, _and_ not just once for each page write, but every time a page is being written to. To this end, I''ve looked at the xen-access.c example, where at first all the pages are being monitored: xc_hvm_set_mem_access(xch, domain_id, HVMMEM_access_rx, ~0ull, 0); xc_hvm_set_mem_access(xch, domain_id, HVMMEM_access_rx, 0, xenaccess->domain_info->max_pages); Then, after an event is received: xc_hvm_set_mem_access(xch, domain_id, HVMMEM_access_rwx, req.gfn, 1); thus allowing ''rwx'' access to 1 page start...
2011 Dec 20
0
sedf: remove useless tracing printk and harmonize comments style.
...atistics */ s_time_t extra_time_tot; #ifdef SEDF_STATS @@ -158,18 +151,16 @@ static inline void extraq_del(struct vcp { struct list_head *list = EXTRALIST(d,i); ASSERT(extraq_on(d,i)); - PRINT(3, "Removing domain %i.%i from L%i extraq\n", - d->domain->domain_id, d->vcpu_id, i); list_del(list); list->next = NULL; ASSERT(!extraq_on(d, i)); } -/* adds a domain to the queue of processes which are aware of extra time. List - is sorted by score, where a lower score means higher priority for an extra - slice. It also updates the score...
2012 May 25
0
[PATCH 3/3] gnttab: cleanup
...handle++ ) + for ( handle = 0; handle < lgt->maptrack_limit; handle++ ) { - map = &maptrack_entry(gt, handle); + map = &maptrack_entry(lgt, handle); if ( !(map->flags & (GNTMAP_device_map|GNTMAP_host_map)) || map->domid != rd->domain_id ) continue; @@ -476,6 +475,7 @@ __gnttab_map_grant_ref( struct gnttab_map_grant_ref *op) { struct domain *ld, *rd, *owner = NULL; + struct grant_table *lgt, *rgt; struct vcpu *led; int handle; unsigned long frame = 0, nr_gets = 0; @@ -525,7 +5...
2005 Oct 14
1
DoveCot 1.0a3 hangs at login
...N service=IMAP lip=192.168.2.43 rip=192.168.2.11 resp=AGp1c3RpbkByZWR3aXJlZGVzaWduLmNvLnVrAHBhc3N3b3Jk Oct 13 09:43:22 toejamfootball dovecot: auth-worker(default): sql(x,192.168.2.11): query: SELECT username AS user, MD5(clear) AS password FROM users LEFT JOIN domains ON domains.domain_id = users.domain_id WHERE domain="x" AND username="x" AND users.enabled = 1 AND domains.enabled = 1 Oct 13 09:43:22 toejamfootball dovecot: auth(default): pam(justin at x,192.168.2.11): pam_authenticate() failed: authentication error Any clues? I don't use pam for auth anyway...
2006 Jan 12
4
How do you create a tree strucutre with ActiveRecord
...h users. But the problem is that would only allow me to query what users are directly in a given domain. In order to determine what users are in a given domain, you have to include the child domains has well. So what users are in domain MLB? The query would be: SELECT * from domain_users where domain_id IN (1,2,3,4,5) Then for steinbrenner it would be: SELECT * from domain_users where domain_id IN (3) But how do you write a query to know what child, grandchild, etc domains to use? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/piperm...
2013 Mar 27
2
[PATCH] x86/S3: Restore broken vcpu affinity on resume (v3)
...ore_vcpu_affinity(struct domain *d) +{ + struct vcpu *v; + + for_each_vcpu ( d, v ) + { + vcpu_schedule_lock_irq(v); + + if (v->affinity_broken) + { + printk("Restoring vcpu affinity for domain %d vcpu %d\n", + v->domain->domain_id, v->vcpu_id); + cpumask_copy(v->cpu_affinity, v->cpu_affinity_saved); + v->affinity_broken = 0; + } + + if ( v->processor == smp_processor_id() ) + { + set_bit(_VPF_migrating, &v->pause_flags); + vcpu_schedule_un...
2005 Jul 28
3
MySQL authentication
Hi I am wanting to install : dovecot 1.0-stable I currently have dovecot 0.99.11-1 which came packaged on Fedora Core 3 It is doing auth off a MySQL db an working well I have downloaded the latest stable tarball and extracted ... I don't see how to enable mysql lookups at compile time... Help please ... I am getting a lot of pressure from the people at work ... Regards Andrew Andrew
2010 Oct 26
3
[PATCH 0 of 3] credit2 updates
Address some credit2 issues. This patch series, along with the recent changes to the cpupools interface, should address some of the strange credit2 instability. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2011 Nov 29
10
[PATCH 0 of 2] Fix correctness race in xc_mem_paging_prep
ging_prep ensures that an mfn is backing the paged-out gfn, and transitions to the next state in the paging state machine for this page. Foreign mappings of the gfn will now succeed. This is the key idea, as it allows the pager to now map the gfn and fill in its contents. Unfortunately, it also allows any other foreign mapper to map the gfn and read its contents. This is particularly dangerous
2007 Aug 30
0
[PATCH][Retry 1] 1/4: cpufreq/PowerNow! in Xen: Xen timer changes
...); #define TIME_SLOP (s32)MICROSECS(50) /* allow time to slip a bit */ @@ -105,7 +107,7 @@ int sched_init_vcpu(struct vcpu *v, unsi * domain-0 VCPUs, are pinned onto their respective physical CPUs. */ v->processor = processor; - if ( is_idle_domain(d) || ((d->domain_id == 0) && opt_dom0_vcpus_pin) ) + if ( is_idle_domain(d) || ((d->domain_id == 0) && ( opt_cpufreq || opt_dom0_vcpus_pin) ) ) v->cpu_affinity = cpumask_of_cpu(processor); else cpus_setall(v->cpu_affinity); @@ -254,7 +256,7 @@ int vcpu_set_affinity(st...