Displaying 20 results from an estimated 59 matches for "source_id".
Did you mean:
source_ip
2006 Mar 02
5
Two foreign keys on the same column?
Let''s say I have three hypothetical MySQL tables:
? people, with columns id, gender, and source_id
belongs_to :boys and :girls
? boys, with columns id and name
has_many :people
? girls, with columns id and name
has_many :people
The gender column in people specifies which of the two source tables the
source_id refers to. For example, if we have values:
1, boy, 1
in people, the appl...
2012 Nov 05
25
[PATCH] IOMMU: don't disable bus mastering on faults for devices used by Xen or Dom0
...through/vtd/iommu.c
+++ b/xen/drivers/passthrough/vtd/iommu.c
@@ -916,7 +916,8 @@ static void __do_iommu_page_fault(struct
reg = cap_fault_reg_offset(iommu->cap);
while (1)
{
- u8 fault_reason;
+ const struct pci_dev *pdev;
+ u8 fault_reason, bus;
u16 source_id, cword;
u32 data;
u64 guest_addr;
@@ -950,14 +951,27 @@ static void __do_iommu_page_fault(struct
iommu_page_fault_do_one(iommu, type, fault_reason,
source_id, guest_addr);
- /* Tell the device to stop DMAing; we can''t rel...
2017 Nov 02
3
[PATCH 0/2] v2v: Handle SATA controller (RHBZ#1508874).
https://bugzilla.redhat.com/show_bug.cgi?id=1508874
Also avoids a warning.
Rich.
2013 Jun 22
4
ActiveRecord::Base.transaction - SystemStackError - stack level too deep:
...record to the database outside
the transaction it saves just fine. I only get the error in the
transaction.
Params Object
params => {
"resource"=> {
"resource_type"=>"document",
"resource_name"=>"My Rails Doc",
"source_id"=>"Dropbox"
},
"resource_document"=> {
"resource_document"=> #<ActionDispatch::Http::UploadedFile:0x007f8e919d06f8
@content_type="text/plain",
@headers= "Content-Disposition:
form-data; name=\"resource_d...
2016 Apr 14
0
[PATCH v2] v2v: add support for virtio-scsi
...| Virtio_SCSI -> "sd"
| IDE -> ide_block_prefix in
let map =
@@ -1257,7 +1265,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
let block_prefix_before_conversion =
match disk.s_controller with
| Some Source_IDE -> ide_block_prefix
- | Some Source_SCSI -> "sd"
+ | Some Source_virtio_SCSI | Some Source_SCSI -> "sd"
| Some Source_virtio_blk -> "vd"
| None ->
(* This is basically a guess. It assumes t...
2016 Apr 14
1
[PATCH v4] v2v: add support for virtio-scsi
...| Virtio_SCSI -> "sd"
| IDE -> ide_block_prefix in
let map =
@@ -1255,7 +1263,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
let block_prefix_before_conversion =
match disk.s_controller with
| Some Source_IDE -> ide_block_prefix
- | Some Source_SCSI -> "sd"
+ | Some Source_virtio_SCSI | Some Source_SCSI -> "sd"
| Some Source_virtio_blk -> "vd"
| None ->
(* This is basically a guess. It assumes t...
2016 Apr 14
1
[PATCH v3] v2v: add support for virtio-scsi
...| Virtio_SCSI -> "sd"
| IDE -> ide_block_prefix in
let map =
@@ -1255,7 +1263,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
let block_prefix_before_conversion =
match disk.s_controller with
| Some Source_IDE -> ide_block_prefix
- | Some Source_SCSI -> "sd"
+ | Some Source_virtio_SCSI | Some Source_SCSI -> "sd"
| Some Source_virtio_blk -> "vd"
| None ->
(* This is basically a guess. It assumes t...
2006 Aug 15
2
How to access attribute in a self-referential many-to-many relationship
Hello List,
I created a self-referential many-to-many relationship (as described
in the book Rails recipe #18), where I have a model that has
many-to-many relationships with itself. In this case, it''s person who
can become friends. The join table looks like this:
mysql> select * from friends_people;
+-----------+-----------+-----------+
| person_id | friend_id | confirmed |
2016 Apr 12
3
[PATCH] v2v: add support for virtio-scsi
...| Virtio_SCSI -> "sd"
| IDE -> ide_block_prefix in
let map =
@@ -1255,7 +1258,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
let block_prefix_before_conversion =
match disk.s_controller with
| Some Source_IDE -> ide_block_prefix
- | Some Source_SCSI -> "sd"
+ | Some Source_virtio_SCSI | Some Source_SCSI -> "sd"
| Some Source_virtio_blk -> "vd"
| None ->
(* This is basically a guess. It assumes t...
2008 Sep 26
1
Problem with authentication... Acts As Authenticated
...VzZWR7AA==--5a5630c016ccd9482ce679e272d3d53adea86595
Parameters: {"format"=>"xml", "action"=>"new",
"controller"=>"sources/ownerships", "password"=>"MYPASS",
"login"=>"MYUSER", "source_id"=>"1247"}
Completed in 0.01454 (68 reqs/sec) | Rendering: 0.00705 (48%) | DB:
0.00378 (25%) | 200 OK
[http://site.com/sources/1247/ownerships/new.xml?login=
MYUSER&password=MYPASS]
However, if I perform the exact same call from an external client
wirtten in Perl, here is what...
2006 Dec 21
1
need some guidance with a test
This is part of a rails project. The following method is part of the Ams
class (a rails model). I''m a bit unsure of the rspec/bdd way of testing this
method.
def persist_as_domains
@current_domains.each do |d|
dom = Domain.new
dom.domain = d
dom.source_id = 1
dom.at = Time.now
dom.save
end
end
The following is what came out when I tried to write my test. Notice that
the only thing I''m testing here is that each method is called a certain
number of times. This doesn''t test that the proper values are passed to the
Domain mo...
2004 Aug 06
0
Parsing the icecast stats log
...e: icecastlog.inc
Type: application/octet-stream
Size: 3438 bytes
Desc: icecastlog.inc
Url : http://lists.xiph.org/pipermail/icecast/attachments/20021030/b2f082e1/icecastlog.obj
-------------- next part --------------
The canonical megillah:
Array
(
[sources] => Array
(
[source_id] => Array
(
[0] => 0
[1] => 1
[2] => 2
)
[num_clients] => Array
(
[0] => 2
[1] => 0
[2] => 0...
2006 Mar 12
0
NameError when trying to combine Recipe 14 (rich HABTM) & Rec. 10 (self-ref HABTM):
...rying to model self-referential relations between people, where the
relation has attached data.
John ''works for'' Bob
Problem: '':through'' doesn''t work, and generates a NameError.
=> the models :
Person (attr: name)
Relation (attr: source_id, target_id)
(more details below)
ex: John ''works for'' Bob
1> jsmith = Person.create(:name => ''John Smith'')
2> jdoe = Person.create(:name => ''John Doe'')
3> jsmith.to_relations.create(:name => "works_for"...
2007 Jul 04
6
Inconsistent results when using wild card queries
We get some unexpected results when using wild card queries. We''re using
aaf and Ferret 0.11.4
For exampel, when seraching on a part of a collegues name (kristofer)
and limiting it to a specific source_id:
Query: source_id:25 AND kri*
Result: 2 documents. None of them containg the word kristofer, but other
matching words, as "kring" and "kring?" (swedish)
Query: source_id:25 AND kris*
Result: 0 documents.
Query: source_id:25 AND krist*
Result: 12 document. Works as expected....
2016 Feb 22
2
Re: [PATCH v2 4/4] v2v: in-place: request caps based on source config
...-
> 2 files changed, 53 insertions(+), 8 deletions(-)
>
> diff --git a/v2v/types.mli b/v2v/types.mli
> index 0e40668..fbd45cf 100644
> --- a/v2v/types.mli
> +++ b/v2v/types.mli
> @@ -66,7 +66,7 @@ and source_disk = {
> (** A source disk. *)
>
> and s_controller = Source_IDE | Source_SCSI | Source_virtio_blk
> -(** Source disk controller.
> +(** Source disk controller (in ascending order of preference).
>
> For the purposes of this field, we can treat virtio-scsi as
> [SCSI]. However we don't support conversions from virtio in any
>...
2006 Jul 20
2
a rails model question
Hi all,
I am a newbie in ruby/rails.
I have a question about my database model:
table1: entities (name, description, author_id ...)
table2: relations (source_id, target_id, relation_type) (it describes
the relations between 2 entities and the relation type)
How can I define models using rails, or do I need to redefine my
database schema?
thank you
--
Posted via http://www.ruby-forum.com/.
2016 Feb 09
0
[PATCH 4/4] v2v: in-place: request caps based on source config
...++++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 53 insertions(+), 8 deletions(-)
diff --git a/v2v/types.mli b/v2v/types.mli
index 2949fd0..7ee78bd 100644
--- a/v2v/types.mli
+++ b/v2v/types.mli
@@ -66,7 +66,7 @@ and source_disk = {
(** A source disk. *)
and s_controller = Source_IDE | Source_SCSI | Source_virtio_blk
-(** Source disk controller.
+(** Source disk controller (in ascending order of preference).
For the purposes of this field, we can treat virtio-scsi as
[SCSI]. However we don't support conversions from virtio in any
@@ -88,7 +88,7 @@ and source_n...
2016 Feb 20
0
[PATCH v2 4/4] v2v: in-place: request caps based on source config
...++++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 53 insertions(+), 8 deletions(-)
diff --git a/v2v/types.mli b/v2v/types.mli
index 0e40668..fbd45cf 100644
--- a/v2v/types.mli
+++ b/v2v/types.mli
@@ -66,7 +66,7 @@ and source_disk = {
(** A source disk. *)
and s_controller = Source_IDE | Source_SCSI | Source_virtio_blk
-(** Source disk controller.
+(** Source disk controller (in ascending order of preference).
For the purposes of this field, we can treat virtio-scsi as
[SCSI]. However we don't support conversions from virtio in any
@@ -88,7 +88,7 @@ and source_n...
2015 Aug 28
7
v2v: -i libvirtxml: Map empty network or bridge name to a default (RHBZ#1257895).
When importing from VMware via the libvirt driver, the libvirt driver
can add an empty source bridge name:
<interface type='bridge'>
<mac address='00:01:02:03:04:05:06'/>
<source bridge=''/>
</interface>
Replicate what we do on the -i ova path, and map these to "eth0",
"eth1" etc.
This also includes a bunch
2016 Feb 20
8
[PATCH v2 0/4] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset